* [Qemu-devel] [PATCH 1/2] monitor: Fix do_commit() argument type
2009-09-04 19:23 [Qemu-devel] [PATCH 0/2] monitor: auto-completion fixes Luiz Capitulino
@ 2009-09-04 19:23 ` Luiz Capitulino
2009-09-04 19:23 ` [Qemu-devel] [PATCH 2/2] monitor: Fix do_wav_capture() " Luiz Capitulino
1 sibling, 0 replies; 3+ messages in thread
From: Luiz Capitulino @ 2009-09-04 19:23 UTC (permalink / raw)
To: qemu-devel
Currently do_commit() argument type is 's' (string), but it
should be 'B' (block), this way 'commit' gets command completion.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
qemu-monitor.hx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 9f91873..c176f2c 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -15,7 +15,7 @@ STEXI
Show the help for all commands or just for command @var{cmd}.
ETEXI
- { "commit", "device:s", do_commit,
+ { "commit", "device:B", do_commit,
"device|all", "commit changes to the disk images (if -snapshot is used) or backing files" },
STEXI
@item commit
--
1.6.4.2.253.g0b1fac
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Qemu-devel] [PATCH 2/2] monitor: Fix do_wav_capture() argument type
2009-09-04 19:23 [Qemu-devel] [PATCH 0/2] monitor: auto-completion fixes Luiz Capitulino
2009-09-04 19:23 ` [Qemu-devel] [PATCH 1/2] monitor: Fix do_commit() argument type Luiz Capitulino
@ 2009-09-04 19:23 ` Luiz Capitulino
1 sibling, 0 replies; 3+ messages in thread
From: Luiz Capitulino @ 2009-09-04 19:23 UTC (permalink / raw)
To: qemu-devel
Currently do_wav_capture() path's argument type is 's' (string),
but it should be 'F' (filename), this way 'wavcapture' gets
command completion.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
qemu-monitor.hx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index c176f2c..6aa99ce 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -402,7 +402,7 @@ info mice
ETEXI
#ifdef HAS_AUDIO
- { "wavcapture", "path:s,freq:i?,bits:i?,nchannels:i?", do_wav_capture,
+ { "wavcapture", "path:F,freq:i?,bits:i?,nchannels:i?", do_wav_capture,
"path [frequency [bits [channels]]]",
"capture audio to a wave file (default frequency=44100 bits=16 channels=2)" },
#endif
--
1.6.4.2.253.g0b1fac
^ permalink raw reply related [flat|nested] 3+ messages in thread