Patchwork [trivial] qemu-options: trivial fix for -mon args help

login
register
mail settings
Submitter Michael Tokarev
Date June 15, 2013, 9:49 a.m.
Message ID <1371289791-27686-1-git-send-email-mjt@msgid.tls.msk.ru>
Download mbox | patch
Permalink /patch/251617/
State New
Headers show

Comments

Michael Tokarev - June 15, 2013, 9:49 a.m.
It is the (implied sub)option name which is optional, not
the value of that (sub)option, make it so in the help output.
(Introduced by commit 22a0e04b9bb)

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
 qemu-options.hx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index bf94862..4e2dbd4 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2540,9 +2540,9 @@  Like -monitor but opens in 'control' mode.
 ETEXI
 
 DEF("mon", HAS_ARG, QEMU_OPTION_mon, \
-    "-mon chardev=[name][,mode=readline|control][,default]\n", QEMU_ARCH_ALL)
+    "-mon [chardev=]name[,mode=readline|control][,default]\n", QEMU_ARCH_ALL)
 STEXI
-@item -mon chardev=[name][,mode=readline|control][,default]
+@item -mon [chardev=]name[,mode=readline|control][,default]
 @findex -mon
 Setup monitor on chardev @var{name}.
 ETEXI