mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +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);
|
fwprintf(stderr, _(L"%ls: Invalid option -- %lc\n"), argv[0], c);
|
||||||
}
|
}
|
||||||
woptopt = c;
|
woptopt = c;
|
||||||
|
woptind++;
|
||||||
return '?';
|
return '?';
|
||||||
}
|
}
|
||||||
if (temp[1] == ':')
|
if (temp[1] == ':')
|
||||||
|
|
Loading…
Reference in a new issue