Re: [libvirt] [PATCH] virsh: domain: Fix option handling in domxml-to-native

2017-10-24 Thread Pavel Hrdina
On Tue, Oct 24, 2017 at 09:51:31AM +0200, Peter Krempa wrote: > Commit fdeac7a05fdf85458d72e89efcfa0f444525aaad tried to fix the output > of 'virsh --help domxml-to-native' by switching types around. One of the > changes broke the option parser. VSH_OT_ARGV should be used only for > variable

[libvirt] [PATCH] virsh: domain: Fix option handling in domxml-to-native

2017-10-24 Thread Peter Krempa
Commit fdeac7a05fdf85458d72e89efcfa0f444525aaad tried to fix the output of 'virsh --help domxml-to-native' by switching types around. One of the changes broke the option parser. VSH_OT_ARGV should be used only for variable argument count, not to make the help generator look pretty. The correct