mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
Fix bad error message for certain options.
https://github.com/fish-shell/fish-shell/issues/979
This commit is contained in:
@@ -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] == ':')
|
||||
|
||||
Reference in New Issue
Block a user