Fix bad error message for certain options.
https://github.com/fish-shell/fish-shell/issues/979
This commit is contained in:
parent
7a1bedcab6
commit
ec1037fcbc
@ -638,6 +638,7 @@ _wgetopt_internal(int argc, wchar_t *const *argv, const wchar_t *optstring, cons
|
||||
fwprintf(stderr, _(L"%ls: Invalid option -- %lc\n"), argv[0], c);
|
||||
}
|
||||
woptopt = c;
|
||||
woptind++;
|
||||
return '?';
|
||||
}
|
||||
if (temp[1] == ':')
|
||||
|
Loading…
x
Reference in New Issue
Block a user