From: Peter Krempa Date: Thu, 7 Mar 2013 09:51:01 +0000 (+0100) Subject: virsh-domain: Fix flag name in error message to match the check X-Git-Tag: v1.0.4-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020e210387f833d5e06d4534887aea48b97bec67;p=thirdparty%2Flibvirt.git virsh-domain: Fix flag name in error message to match the check The check is done on the "--paused" flag but the error message stated "--saved" --- diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index e9da11f04b..128e5160fd 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -3688,7 +3688,7 @@ cmdSaveImageEdit(vshControl *ctl, const vshCmd *cmd) * step fails, but the define step will always fail on invalid * flags, so we reject it up front to avoid looping. */ if (define_flags == (VIR_DOMAIN_SAVE_RUNNING | VIR_DOMAIN_SAVE_PAUSED)) { - vshError(ctl, "%s", _("--running and --saved are mutually exclusive")); + vshError(ctl, "%s", _("--running and --paused are mutually exclusive")); return false; }