aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-08-02 22:03:13 +0200
committerDaniel Veillard <veillard@redhat.com>2010-08-02 22:03:13 +0200
commita7d65ee9c1631cebd40572a77829c19eaf5805d0 (patch)
treecfa20a983a1d621e23f97797dccff83626f1d634
parentAdd Aurelien to AUTHORS (diff)
downloadlibvirt-a7d65ee9c1631cebd40572a77829c19eaf5805d0.tar.gz
libvirt-a7d65ee9c1631cebd40572a77829c19eaf5805d0.tar.bz2
libvirt-a7d65ee9c1631cebd40572a77829c19eaf5805d0.zip
Fix virsh error message when -d arg is not numeric
-rw-r--r--tools/virsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virsh.c b/tools/virsh.c
index 926652a26..cedfb5abc 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -11022,7 +11022,7 @@ vshParseArgv(vshControl *ctl, int argc, char **argv)
switch (arg) {
case 'd':
if (virStrToLong_i(optarg, NULL, 10, &ctl->debug) < 0) {
- vshError(ctl, _("option -d takes a numeric argument"), arg);
+ vshError(ctl, _("option -d takes a numeric argument: %s"), arg);
exit(EXIT_FAILURE);
}
break;