aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorWenchao Xia <xiawenc@linux.vnet.ibm.com>2013-08-27 20:38:26 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2013-08-30 07:41:15 -0400
commit129be006d63ba90b788de6b1610892e02ef5eaba (patch)
tree844add6c762d38fade9f32a9c119c465004ffd23 /hmp-commands.hx
parentd903a779cf2f1fa5cd12076411a00b835f1b7b26 (diff)
downloadqemu-arm-129be006d63ba90b788de6b1610892e02ef5eaba.tar.gz
monitor: allow "help" show message for single command in sub group
A new parameter type 'S' is introduced to allow user input any string. "help info block" works normal now. Signed-off-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 8c6b91a9c7..c161fe9f47 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -11,7 +11,7 @@ ETEXI
{
.name = "help|?",
- .args_type = "name:s?",
+ .args_type = "name:S?",
.params = "[cmd]",
.help = "show the help",
.mhandler.cmd = do_help_cmd,