mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Tweak the error message for history delete --exact foo
The old message made it sound like the `--exact` flag wasn't supported.
This commit is contained in:
parent
9216544437
commit
afc5c0a6e7
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ int builtin_history(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
||||||
}
|
}
|
||||||
if (!opts.case_sensitive) {
|
if (!opts.case_sensitive) {
|
||||||
streams.err.append_format(
|
streams.err.append_format(
|
||||||
_(L"builtin history delete only supports --case-sensitive\n"));
|
_(L"builtin history delete --exact requires --case-sensitive\n"));
|
||||||
status = STATUS_INVALID_ARGS;
|
status = STATUS_INVALID_ARGS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue