mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-11 05:31:14 -03:00
src/builtin_read: Remove more references to fish_history
This commit is contained in:
@@ -63,7 +63,6 @@ static const struct woption long_options[] = {{L"array", no_argument, NULL, 'a'}
|
||||
{L"help", no_argument, NULL, 'h'},
|
||||
{L"line", no_argument, NULL, 'L'},
|
||||
{L"local", no_argument, NULL, 'l'},
|
||||
{L"mode-name", required_argument, NULL, 'm'},
|
||||
{L"nchars", required_argument, NULL, 'n'},
|
||||
{L"null", no_argument, NULL, 'z'},
|
||||
{L"prompt", required_argument, NULL, 'p'},
|
||||
@@ -117,12 +116,6 @@ static int parse_cmd_opts(read_cmd_opts_t &opts, int *optind, //!OCLINT(high nc
|
||||
opts.place |= ENV_LOCAL;
|
||||
break;
|
||||
}
|
||||
case L'm': {
|
||||
streams.err.append_format(_(L"%ls: flags '--mode-name' / '-m' are now ignored. "
|
||||
L"Set fish_history instead.\n"),
|
||||
cmd);
|
||||
break;
|
||||
}
|
||||
case L'n': {
|
||||
opts.nchars = fish_wcstoi(w.woptarg);
|
||||
if (errno) {
|
||||
|
||||
Reference in New Issue
Block a user