[libvirt] [PATCH 1/3] virsh: undefine: Clarify help string for --snapshots-metadata

Peter Krempa pkrempa at redhat.com
Wed Jun 5 11:23:38 UTC 2019


Reword the end of the help string to make it more obvious that the VM
must be inactive.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 tools/virsh-domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 82140feb57..a6e4469160 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -3627,7 +3627,7 @@ static const vshCmdOptDef opts_undefine[] = {
     },
     {.name = "snapshots-metadata",
      .type = VSH_OT_BOOL,
-     .help = N_("remove all domain snapshot metadata, if inactive")
+     .help = N_("remove all domain snapshot metadata (vm must be inactive)")
     },
     {.name = "nvram",
      .type = VSH_OT_BOOL,
-- 
2.21.0




More information about the libvir-list mailing list