[libvirt] [PATCH 1/2] virsh: make -h always give help

Stefan Berger stefanb at linux.vnet.ibm.com
Tue May 1 16:06:50 UTC 2012


On 04/30/2012 04:31 PM, Eric Blake wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=817244 mentions that
> unlike most other tools, where --help or --version prevent all
> further parsing of all later options, virsh was strange in that
> --version stopped parsing but --help tried to plow on to the end.
> There was no rationale for this original implementation (since
> 2005!), so I think we can safely conform to common usage patterns.
>
> * tools/virsh.c (main): Drop useless 'help' variable.
> ---
ACK




More information about the libvir-list mailing list