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>
Mon, 20 Jun 2016 12:30:21 +0000 (08:30 -0400)
commit5d4106eafd7f2f6e71a1d0d90ebf4f4e766b772d
tree7573d3ab6edc90bbf500c5297e421dfa78636dd0
parent960e513f430170bb58d59dcb26951f879a9baa7b
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