monitor: auto-completion fixes
cover monitor: auto-completion fixes
Hi there,
This series contains two minor auto-completion fixes for
'commit' and 'wavcapture' Monitor commands.
PATCH 1/2 monitor: Fix do_commit() argument type
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 <[email protected]>
--- qemu-monitor.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-monitor.hx +1 -1
@@ -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
Signature · 1 line
1.6.4.2.253.g0b1fac
PATCH 2/2 monitor: Fix do_wav_capture() argument type
In reply to Luiz CapitulinoCurrently 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 <[email protected]>
--- qemu-monitor.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
qemu-monitor.hx +1 -1
@@ -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
Signature · 1 line
1.6.4.2.253.g0b1fac