mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-03 10:01:16 -03:00
@@ -179,7 +179,7 @@ void builtin_unknown_option(parser_t &parser, io_streams_t &streams, const wchar
|
||||
/// Perform error reporting for encounter with missing argument.
|
||||
void builtin_missing_argument(parser_t &parser, io_streams_t &streams, const wchar_t *cmd,
|
||||
const wchar_t *opt) {
|
||||
streams.err.append_format(BUILTIN_ERR_MISSING, cmd, opt);
|
||||
streams.err.append_format(BUILTIN_ERR_MISSING, cmd, opt + std::wcslen(opt) - 1);
|
||||
builtin_print_error_trailer(parser, streams.err, cmd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user