aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-09-04 16:23:07 -0300
committerAurelien Jarno <aurelien@aurel32.net>2009-09-26 21:25:03 +0200
commite0fed6cca7a5a8583798be758db3896828ced7f8 (patch)
treeb94268809984dc272111b6213c45779c8891c25b /qemu-monitor.hx
parent075e36b8ede5409b491abdf69fe2ffcf1bfe6bca (diff)
downloadqemu-e0fed6cca7a5a8583798be758db3896828ced7f8.zip
qemu-e0fed6cca7a5a8583798be758db3896828ced7f8.tar.gz
qemu-e0fed6cca7a5a8583798be758db3896828ced7f8.tar.bz2
monitor: Fix do_wav_capture() argument type
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> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx2
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