snapshot: fix virsh error message typo

* tools/virsh.c (cmdSnapshotList): Spell exclusive correctly.
This commit is contained in:
Eric Blake 2011-10-07 07:53:27 -06:00
parent 811886672d
commit 203b361f09

View File

@ -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;