aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-26 09:07:10 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-04-18 23:55:19 +0200
commitc9b26a4cbe1e3ce71521b8a1ff0483f4cc4fa4bf (patch)
treee1bcd5f4d38b95f8bb9b7da119d120c1707c7a5f /qemu-monitor.hx
parent942cd1f2889dbc74db850218b270bc5b41656dfd (diff)
monitor: Use argument type 'b' for set_link
Second argument is now "on" or "off" instead of "up" or "down". Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx8
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 8c9a41cede..7b7dcf545a 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -986,16 +986,16 @@ ETEXI
{
.name = "set_link",
- .args_type = "name:s,up_or_down:s",
- .params = "name up|down",
+ .args_type = "name:s,up:b",
+ .params = "name on|off",
.help = "change the link status of a network adapter",
.mhandler.cmd = do_set_link,
},
STEXI
-@item set_link @var{name} [up|down]
+@item set_link @var{name} [on|off]
@findex set_link
-Set link @var{name} up or down.
+Switch link @var{name} on (i.e. up) or off (i.e. down).
ETEXI
{