提交 203b361f 编写于 作者: E Eric Blake

snapshot: fix virsh error message typo

* tools/virsh.c (cmdSnapshotList): Spell exclusive correctly.
上级 81188667
...@@ -13133,19 +13133,19 @@ cmdSnapshotList(vshControl *ctl, const vshCmd *cmd) ...@@ -13133,19 +13133,19 @@ cmdSnapshotList(vshControl *ctl, const vshCmd *cmd)
if (vshCommandOptBool(cmd, "parent")) { if (vshCommandOptBool(cmd, "parent")) {
if (vshCommandOptBool(cmd, "roots")) { if (vshCommandOptBool(cmd, "roots")) {
vshError(ctl, "%s", vshError(ctl, "%s",
_("--parent and --roots are mutually exlusive")); _("--parent and --roots are mutually exclusive"));
return false; return false;
} }
if (tree) { if (tree) {
vshError(ctl, "%s", vshError(ctl, "%s",
_("--parent and --tree are mutually exlusive")); _("--parent and --tree are mutually exclusive"));
return false; return false;
} }
parent_filter = 1; parent_filter = 1;
} else if (vshCommandOptBool(cmd, "roots")) { } else if (vshCommandOptBool(cmd, "roots")) {
if (tree) { if (tree) {
vshError(ctl, "%s", vshError(ctl, "%s",
_("--roots and --tree are mutually exlusive")); _("--roots and --tree are mutually exclusive"));
return false; return false;
} }
flags |= VIR_DOMAIN_SNAPSHOT_LIST_ROOTS; flags |= VIR_DOMAIN_SNAPSHOT_LIST_ROOTS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册