mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 20:33:08 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue