1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Print the invalid option value

This commit is contained in:
Jonas Fonseca 2005-10-25 19:10:30 +02:00 committed by Jonas Fonseca
parent 7659f284ac
commit a317dd71fb

View File

@ -282,7 +282,7 @@ get_opt_(
case OPT_LONG:
if (opt->value.number < opt->min
|| opt->value.number > opt->max)
elinks_internal("Option %s has invalid value!", name);
elinks_internal("Option %s has invalid value %d!", name, opt->value.number);
break;
case OPT_COMMAND:
if (!opt->value.command)