Fix virsh error message when -d arg is not numeric

This commit is contained in:
Eric Blake 2010-08-02 22:03:13 +02:00 committed by Daniel Veillard
parent c66bf97003
commit a7d65ee9c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;