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:
Kevin Ballard 2018-04-14 21:59:18 -07:00
parent 9216544437
commit afc5c0a6e7

View file

@ -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;
} }