help --help should be same as help help

darcs-hash:20060822005230-ac50b-b82c0665cae7427c09992f51e128e33cea44b41e.gz
This commit is contained in:
axel 2006-08-22 10:52:30 +10:00
parent ac13bdeaa7
commit 2ea00ce444

View File

@ -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.