Signed-off-by: Lin Ma <lma(a)suse.com>
---
tools/virsh-domain.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index aa11a81638..ace5c02871 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -11213,11 +11213,7 @@ static const vshCmdInfo info_migrate_postcopy[] = {
};
static const vshCmdOptDef opts_migrate_postcopy[] = {
- {.name = "domain",
- .type = VSH_OT_DATA,
- .flags = VSH_OFLAG_REQ,
- .help = N_("domain name, id or uuid")
- },
+ VIRSH_COMMON_OPT_DOMAIN_FULL(VIR_CONNECT_LIST_DOMAINS_ACTIVE),
{.name = NULL}
};
--
2.15.1