2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-15 21:49:26 +00: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 .
This commit is contained in:
Fabian Homborg 2021-01-26 07:00:15 +01:00
parent d4e76f5c5a
commit 275534b1b3

View file

@ -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'},