mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-28 01:11:15 -03:00
Teach parse_util_detect_errors to report invalid builtins, as found in
issue #1252
This commit is contained in:
@@ -3760,7 +3760,7 @@ int builtin_run(parser_t &parser, const wchar_t * const *argv, const io_chain_t
|
||||
}
|
||||
else
|
||||
{
|
||||
debug(0, _(L"Unknown builtin '%ls'"), argv[0]);
|
||||
debug(0, UNKNOWN_BUILTIN_ERR_MSG, argv[0]);
|
||||
}
|
||||
return STATUS_BUILTIN_ERROR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user