The inactive domains don't have any ID identifier, So adjust the help
message.
Signed-off-by: Lin Ma <lma(a)suse.com>
---
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,
--
2.16.2