提交 fdeac7a0 编写于 作者: D Daniel Liu 提交者: John Ferlan

virsh: Fix --help problem for domxml-to-native DOMAIN COMMAND

Resolves a bug in domxml-to-native command option, so that the
following command displays the help information correctly:
'virsh domxml-to-native --help'.
Signed-off-by: NDaniel Liu <srwx4096@gmail.com>
Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
上级 78fc843c
...@@ -9857,12 +9857,12 @@ static const vshCmdOptDef opts_domxmltonative[] = { ...@@ -9857,12 +9857,12 @@ static const vshCmdOptDef opts_domxmltonative[] = {
.help = N_("target config data type format") .help = N_("target config data type format")
}, },
{.name = "domain", {.name = "domain",
.type = VSH_OT_DATA, .type = VSH_OT_STRING,
.flags = VSH_OFLAG_REQ_OPT, .flags = VSH_OFLAG_REQ_OPT,
.help = N_("domain name, id or uuid") .help = N_("domain name, id or uuid")
}, },
{.name = "xml", {.name = "xml",
.type = VSH_OT_DATA, .type = VSH_OT_ARGV,
.help = N_("xml data file to export from") .help = N_("xml data file to export from")
}, },
{.name = NULL} {.name = NULL}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册