[libvirt] [PATCH] virsh: Update list of shutdown/reboot modes

Michal Privoznik mprivozn at redhat.com
Thu Apr 11 11:14:19 UTC 2013


As of 76d9f65644 we are supporting two new modes: initctl and signal.
However, these are missing in help listing.
---
 tools/virsh-domain.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index c088468..bd6192e 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}
 };
-- 
1.8.1.5




More information about the libvir-list mailing list