mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 19:12:59 +08:00
parent
ccebe1a169
commit
33edac2c0c
|
@ -942,8 +942,8 @@ maybe_t<int> builtin_path(parser_t &parser, io_streams_t &streams, const wchar_t
|
|||
}
|
||||
|
||||
if (argc >= 3 && (std::wcscmp(argv[2], L"-h") == 0 || std::wcscmp(argv[2], L"--help") == 0)) {
|
||||
wcstring path_dash_subcommand = wcstring(argv[0]) + L"-" + subcmd_name;
|
||||
builtin_print_help(parser, streams, path_dash_subcommand.c_str());
|
||||
// Unlike string, we don't have separate docs (yet)
|
||||
builtin_print_help(parser, streams, L"path");
|
||||
return STATUS_CMD_OK;
|
||||
}
|
||||
argc--;
|
||||
|
|
Loading…
Reference in New Issue
Block a user