mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
snapshot: fix virsh error message typo
* tools/virsh.c (cmdSnapshotList): Spell exclusive correctly.
This commit is contained in:
parent
811886672d
commit
203b361f09
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user