]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: Fix --nvram and --keep-nvram help strings
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 30 Sep 2021 14:32:19 +0000 (16:32 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 5 Oct 2021 06:54:32 +0000 (08:54 +0200)
The --nvram and --keep-nvram options of the undefine command can
be used regardless of the domain status (the only consumer so far
- qemuDomainUndefineFlags() doesn't care about the domain
status). Yet, their corresponding help strings say something
about inactive domains while manpage says nothing. Remove the
reference to domain state.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2007659
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tools/virsh-domain.c

index f43234f223fe1fec76aa66a652ebbf69b2d31161..0391bdeb30712250e99c0ae89c3fd912985d3f32 100644 (file)
@@ -3595,11 +3595,11 @@ static const vshCmdOptDef opts_undefine[] = {
     },
     {.name = "nvram",
      .type = VSH_OT_BOOL,
-     .help = N_("remove nvram file, if inactive")
+     .help = N_("remove nvram file")
     },
     {.name = "keep-nvram",
      .type = VSH_OT_BOOL,
-     .help = N_("keep nvram file, if inactive")
+     .help = N_("keep nvram file")
     },
     {.name = NULL}
 };