mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
help --help should be same as help help
darcs-hash:20060822005230-ac50b-b82c0665cae7427c09992f51e128e33cea44b41e.gz
This commit is contained in:
parent
ac13bdeaa7
commit
2ea00ce444
@ -18,6 +18,12 @@ function help -d (N_ "Show help for the fish shell")
|
||||
set h $h expand-variable expand-home expand-brace expand-wildcard
|
||||
set -l help_topics $h expand-command-substitution expand-process
|
||||
|
||||
# 'help -h' should launch 'help help'
|
||||
switch $argv[1]
|
||||
case -h --h --he --hel --help
|
||||
set argv help
|
||||
end
|
||||
|
||||
#
|
||||
# Find a suitable browser for viewing the help pages. This is needed
|
||||
# by the help function defined below.
|
||||
|
Loading…
x
Reference in New Issue
Block a user