aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-09-04 16:23:06 -0300
committerAurelien Jarno <aurelien@aurel32.net>2009-09-26 21:25:00 +0200
commit075e36b8ede5409b491abdf69fe2ffcf1bfe6bca (patch)
tree012e175f0645455441c25b28f225458df8a7af76
parent6c58e80f3e8795994bb2fd3b401c7abb29d4ef78 (diff)
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 <lcapitulino@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r--qemu-monitor.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 9f918735bf..c176f2c83d 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