Re: [Qemu-devel] [PATCH V7 09/13] monitor: support sub command in help

2013-07-24 Thread Eric Blake
On 07/19/2013 07:44 PM, Wenchao Xia wrote: > The old code in help_cmd() use global 'info_cmds' and treat it as a s/use/uses/; s/treat/treats/ > special case. Actually 'info_cmds' is an sub command group of 'mon_cmds', s/an sub/a sub/ > in order to avoid direct use of it, help_cmd() need to chan

[Qemu-devel] [PATCH V7 09/13] monitor: support sub command in help

2013-07-19 Thread Wenchao Xia
The old code in help_cmd() use global 'info_cmds' and treat it as a special case. Actually 'info_cmds' is an sub command group of 'mon_cmds', in order to avoid direct use of it, help_cmd() need to change its work mechanism to support sub command and not treat it as a special case any more. To supp