diff mbox

[1/2] monitor: Fix do_commit() argument type

Message ID 1252092187-13924-2-git-send-email-lcapitulino@redhat.com
State Superseded
Headers show

Commit Message

Luiz Capitulino Sept. 4, 2009, 7:23 p.m. UTC
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 mbox

Patch

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