summaryrefslogtreecommitdiff
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 /qemu-monitor.hx
parentDon't redefine NULL, please (diff)
downloadqemu-kvm-075e36b8ede5409b491abdf69fe2ffcf1bfe6bca.tar.gz
qemu-kvm-075e36b8ede5409b491abdf69fe2ffcf1bfe6bca.tar.bz2
qemu-kvm-075e36b8ede5409b491abdf69fe2ffcf1bfe6bca.zip
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>
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 9f918735b..c176f2c83 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