From a7d65ee9c1631cebd40572a77829c19eaf5805d0 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Mon, 2 Aug 2010 22:03:13 +0200 Subject: [PATCH] Fix virsh error message when -d arg is not numeric --- tools/virsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2