Re: [Qemu-devel] [PATCH 2/2] monitor: support sub commands in auto completion

2013-06-21 Thread Luiz Capitulino
On Fri, 21 Jun 2013 14:37:38 +0800 Wenchao Xia wrote: > This patch allow auot completion work normal in sub command case, > "info block [DEVICE]" can auto complete now, by re-enter the completion > function. Also, original "info" is treated as a special case, now it is > treated as a sub command

[Qemu-devel] [PATCH 2/2] monitor: support sub commands in auto completion

2013-06-20 Thread Wenchao Xia
This patch allow auot completion work normal in sub command case, "info block [DEVICE]" can auto complete now, by re-enter the completion function. Also, original "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. Signed-o