From: Eric Blake Date: Mon, 2 Aug 2010 20:03:13 +0000 (+0200) Subject: Fix virsh error message when -d arg is not numeric X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a7d65ee9c1631cebd40572a77829c19eaf5805d0;p=libvirt.git Fix virsh error message when -d arg is not numeric --- diff --git a/tools/virsh.c b/tools/virsh.c index 926652a26a..cedfb5abc0 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;