[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V7 11/13] monitor: support sub command in auto c
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH V7 11/13] monitor: support sub command in auto completion |
Date: |
Thu, 25 Jul 2013 10:26:13 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 |
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 <address@hidden>
> ---
> monitor.c | 14 +++++++-------
> 1 files changed, 7 insertions(+), 7 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH V7 06/13] monitor: avoid direct use of global variable *mon_cmds, (continued)
- [Qemu-devel] [PATCH V7 07/13] monitor: code move for parse_cmdline(), Wenchao Xia, 2013/07/19
- [Qemu-devel] [PATCH V7 08/13] monitor: refine parse_cmdline(), Wenchao Xia, 2013/07/19
- [Qemu-devel] [PATCH V7 09/13] monitor: support sub command in help, Wenchao Xia, 2013/07/19
- [Qemu-devel] [PATCH V7 10/13] monitor: refine monitor_find_completion(), Wenchao Xia, 2013/07/19
- [Qemu-devel] [PATCH V7 11/13] monitor: support sub command in auto completion, Wenchao Xia, 2013/07/19
- Re: [Qemu-devel] [PATCH V7 11/13] monitor: support sub command in auto completion,
Eric Blake <=
- [Qemu-devel] [PATCH V7 12/13] monitor: allow "help" show message for single command in sub group, Wenchao Xia, 2013/07/19
- [Qemu-devel] [PATCH V7 13/13] monitor: improve auto complete of "help" for single command in sub group, Wenchao Xia, 2013/07/19
- Re: [Qemu-devel] [PATCH V7 00/13] monitor: support sub command group in auto completion and help, Wenchao Xia, 2013/07/24