summaryrefslogtreecommitdiffstats
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster2010-02-10 20:47:28 +0100
committerMarkus Armbruster2010-03-16 17:45:35 +0100
commitc7e4e8ceb379e15c8cb79427f10169b2ccaa8de6 (patch)
treeeae221b1bf0426f66fb7751aec33deb5bd5bf652 /qemu-monitor.hx
parentmonitor: New argument type 'O' (diff)
downloadqemu-c7e4e8ceb379e15c8cb79427f10169b2ccaa8de6.tar.gz
qemu-c7e4e8ceb379e15c8cb79427f10169b2ccaa8de6.tar.xz
qemu-c7e4e8ceb379e15c8cb79427f10169b2ccaa8de6.zip
monitor: Use argument type 'O' for device_add
While there, improve the params help text.
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 7f9d261cd9..45e5fd10f3 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -570,8 +570,8 @@ ETEXI
{
.name = "device_add",
- .args_type = "config:s",
- .params = "device",
+ .args_type = "device:O",
+ .params = "driver[,prop=value][,...]",
.help = "add device, like -device on the command line",
.mhandler.cmd = do_device_add,
},