From 7c07067c1dfe16b89025833d3e44adecb14dfb24 Mon Sep 17 00:00:00 2001 From: Lin Ma Date: Tue, 15 May 2018 19:10:32 +0800 Subject: [PATCH] virsh: Remove 'id' text from help message for 'domrename' command The inactive domains don't have any ID identifier, So adjust the help message. Signed-off-by: Lin Ma --- tools/virsh-domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 30da953446..cfeb3484e2 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -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, -- GitLab