mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-05 05:45:26 +08:00
read: Remove unused short options
This has both "m" and "B" in the short options but did nothing with them, so it would assert() out. Fixes #7659.
This commit is contained in:
parent
d4e76f5c5a
commit
275534b1b3
@ -57,7 +57,7 @@ struct read_cmd_opts_t {
|
||||
bool one_line = false;
|
||||
};
|
||||
|
||||
static const wchar_t *const short_options = L":ac:d:ghiLlm:n:p:sStuxzP:UR:LB";
|
||||
static const wchar_t *const short_options = L":ac:d:ghiLln:p:sStuxzP:UR:L";
|
||||
static const struct woption long_options[] = {{L"array", no_argument, nullptr, 'a'},
|
||||
{L"command", required_argument, nullptr, 'c'},
|
||||
{L"delimiter", required_argument, nullptr, 'd'},
|
||||
|
Loading…
x
Reference in New Issue
Block a user