]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Update list of shutdown/reboot modes
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Apr 2013 11:03:55 +0000 (13:03 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Apr 2013 11:03:55 +0000 (13:03 +0200)
As of 76d9f65644 we are supporting two new modes: initctl and signal.
However, these are missing in help listing.

tools/virsh-domain.c

index c0884689f61e3594b2432750c34efe151104dabd..bd6192e425560d45bb2ab88cfc86d6090def0076 100644 (file)
@@ -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}
 };