]> xenbits.xensource.com Git - libvirt.git/commitdiff
virsh: Remove 'id' text from help message for 'domrename' command
authorLin Ma <lma@suse.com>
Tue, 15 May 2018 11:10:32 +0000 (19:10 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 17 May 2018 15:06:11 +0000 (17:06 +0200)
The inactive domains don't have any ID identifier, So adjust the help
message.

Signed-off-by: Lin Ma <lma@suse.com>
tools/virsh-domain.c

index 30da953446339038a06b023267bb23f4803fba58..cfeb3484e2b772933cb3b244e081fc56ecd3ac0b 100644 (file)
@@ -10251,7 +10251,8 @@ static const vshCmdInfo info_domrename[] = {
 };
 
 static const vshCmdOptDef opts_domrename[] = {
-    VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_INACTIVE),
+    VIRSH_COMMON_OPT_DOMAIN(N_("domain name or uuid"),
+                            VIR_CONNECT_LIST_DOMAINS_INACTIVE),
     {.name = "new-name",
      .type = VSH_OT_DATA,
      .flags = VSH_OFLAG_REQ,