mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 08:46:10 +08:00
Remove extraneous line break in the middle of an error message
This commit is contained in:
parent
34b918d0a0
commit
4ba9e70f9a
@ -189,7 +189,7 @@ static int validate_function_name(int argc, const wchar_t *const *argv, wcstring
|
||||
|
||||
if (parser_keywords_is_reserved(function_name)) {
|
||||
streams.err.append_format(
|
||||
_(L"%ls: The name '%ls' is reserved,\nand can not be used as a function name"), cmd,
|
||||
_(L"%ls: The name '%ls' is reserved, and cannot be used as a function name"), cmd,
|
||||
function_name.c_str());
|
||||
return STATUS_INVALID_ARGS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user