提交 a7d65ee9 编写于 作者: E Eric Blake 提交者: Daniel Veillard

Fix virsh error message when -d arg is not numeric

上级 c66bf970
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册