From: Michal Privoznik Date: Thu, 11 Apr 2013 11:03:55 +0000 (+0200) Subject: virsh: Update list of shutdown/reboot modes X-Git-Tag: v1.0.5-rc1~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa8397c6219c048100f0ca2f27bc838ef815c44;p=thirdparty%2Flibvirt.git virsh: Update list of shutdown/reboot modes As of 76d9f65644 we are supporting two new modes: initctl and signal. However, these are missing in help listing. --- diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index c0884689f6..bd6192e425 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -4568,7 +4568,7 @@ static const vshCmdOptDef opts_shutdown[] = { }, {.name = "mode", .type = VSH_OT_STRING, - .help = N_("shutdown mode: acpi|agent") + .help = N_("shutdown mode: acpi|agent|initctl|signal") }, {.name = NULL} }; @@ -4654,7 +4654,7 @@ static const vshCmdOptDef opts_reboot[] = { }, {.name = "mode", .type = VSH_OT_STRING, - .help = N_("shutdown mode: acpi|agent") + .help = N_("shutdown mode: acpi|agent|initctl|signal") }, {.name = NULL} };