virt-what.in: make option processing portable
authorAssaf Gordon <assafgordon@gmail.com>
Mon, 15 Sep 2014 19:34:06 +0000 (19:34 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 16 Sep 2014 17:57:54 +0000 (18:57 +0100)
commitaec669f7b9e4a172c57978597916f8bd97bf26de
tree746f5e71e60edba7094e275a3b7ecd6fe70520de
parenta68e9c005933a2d8d0f3264bdb68161263cd3933
virt-what.in: make option processing portable

Replace linux-specific 'getopt' usage with manual option parsing.
Because the used option are version simple (help/version) and the only
additional option is undocumented (--test-root), it's easy remove the
'getopt' usage, and make this script portable to BSD systems.
virt-what.in