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:
parent
7659f284ac
commit
a317dd71fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user