On 07/19/2013 07:44 PM, Wenchao Xia wrote: > This patch allow auto completion work normal for sub command case,
s/allow/allows/ > "info block [DEVICE]" can auto complete now, by re-enter the completion > function. In original code "info" is treated as a special case, now it > is treated as a sub command group, global variable info_cmds is not used > any more. > > "help" command is still treated as a special case, since it is not a sub > command group but want to auto complete command in root command table. > > Signed-off-by: Wenchao Xia <xiaw...@linux.vnet.ibm.com> > --- > monitor.c | 14 +++++++------- > 1 files changed, 7 insertions(+), 7 deletions(-) Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature