From c9b26a4cbe1e3ce71521b8a1ff0483f4cc4fa4bf Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 26 Mar 2010 09:07:10 +0100 Subject: 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 Signed-off-by: Luiz Capitulino --- qemu-monitor.hx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qemu-monitor.hx') diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 8c9a41ced..7b7dcf545 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 { -- cgit v1.2.3