
13 Aug
2012
13 Aug
'12
1:40 p.m.
On 08/13/2012 08:28 AM, Cole Robinson wrote:
Similar to the previous patch, prepending 'help' to a partial command string doesn't cut us any slack.
$ virsh help pool-define-as --name foo --type dir error: command 'help' doesn't support option --name
This patch adds a few hacks to make 'help' ignore everything after the first data bit, so the above command shows help output for pool-define-as. --- tools/virsh.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-)
Also passed my testing. ACK. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org