From: Luiz Capitulino Date: Fri, 4 Sep 2009 19:23:06 +0000 (-0300) Subject: monitor: Fix do_commit() argument type X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=075e36b8ede5409b491abdf69fe2ffcf1bfe6bca;p=qemu.git 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 Signed-off-by: Aurelien Jarno --- 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