]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-aa-helper-test: Switch to getopts
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Jun 2025 07:59:08 +0000 (09:59 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Jul 2025 11:54:38 +0000 (13:54 +0200)
commit01badd1bfb131a180713dd89abec20acdcd333f0
tree8f5fa267c790a453d6ce4bc4082082f15467fdb0
parent9569a43b7a9bee44ffd846880dea085fb6dddc28
virt-aa-helper-test: Switch to getopts

Instead of treating -d and -v arguments as positional, use
getopts to parse cmd line arguments passed to
virt-aa-helper-test script.

While at it, introduce -h for printing basic help describing each
argument.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virt-aa-helper-test