Merge branch 'ks/verify-filename-non-option-error-message-tweak'
Error message tweak. * ks/verify-filename-non-option-error-message-tweak: setup: update error message to be more meaningfulmaint
commit
2a5aa826ee
2
setup.c
2
setup.c
|
@ -230,7 +230,7 @@ void verify_filename(const char *prefix,
|
|||
int diagnose_misspelt_rev)
|
||||
{
|
||||
if (*arg == '-')
|
||||
die("bad flag '%s' used after filename", arg);
|
||||
die("option '%s' must come before non-option arguments", arg);
|
||||
if (looks_like_pathspec(arg) || check_filename(prefix, arg))
|
||||
return;
|
||||
die_verify_filename(prefix, arg, diagnose_misspelt_rev);
|
||||
|
|
Loading…
Reference in New Issue