mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-27 14:53:27 +08:00
print --help to stdout like other builtins (#5495)
This commit is contained in:
parent
4a8db53bcf
commit
a6fa237db2
@ -1305,7 +1305,7 @@ int builtin_string(parser_t &parser, io_streams_t &streams, wchar_t **argv) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (wcscmp(argv[1], L"-h") == 0 || wcscmp(argv[1], L"--help") == 0) {
|
if (wcscmp(argv[1], L"-h") == 0 || wcscmp(argv[1], L"--help") == 0) {
|
||||||
builtin_print_help(parser, streams, L"string", streams.err);
|
builtin_print_help(parser, streams, L"string", streams.out);
|
||||||
return STATUS_CMD_OK;
|
return STATUS_CMD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user