Remove silly warnings in help script

darcs-hash:20051204132218-ac50b-e9e74283b7fe3f12a9af90f2b6d93b189e80a684.gz
This commit is contained in:
axel 2005-12-04 23:22:18 +10:00
parent 9d7723b330
commit e4ade8f41b

View file

@ -132,18 +132,20 @@ function help -d "Show help for the fish shell"
return 1
end
if count $argv >/dev/null
set fish_help_item $argv[1]
end
set fish_help_page ""
if test $fish_help_item = .
if test "$fish_help_item" = .
set fish_help_page "builtins.html\#source"
end
if test $fish_help_item = difference
if test "$fish_help_item" = difference
set fish_help_page difference.html
end
if test $fish_help_item = globbing
if test "$fish_help_item" = globbing
set fish_help_page "index.html\#expand"
end