mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Remove silly warnings in help script
darcs-hash:20051204132218-ac50b-e9e74283b7fe3f12a9af90f2b6d93b189e80a684.gz
This commit is contained in:
parent
9d7723b330
commit
e4ade8f41b
1 changed files with 7 additions and 5 deletions
|
@ -132,18 +132,20 @@ function help -d "Show help for the fish shell"
|
|||
return 1
|
||||
end
|
||||
|
||||
set fish_help_item $argv[1]
|
||||
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
|
||||
|
||||
|
@ -561,7 +563,7 @@ function __fish_type_help -d "Help for the type shellscript function"
|
|||
|
||||
set bullet \*
|
||||
if expr match "$LANG" ".*UTF" >/dev/null
|
||||
set bullet \u2022
|
||||
set bullet \u2022
|
||||
end
|
||||
|
||||
echo \ttype - Indicate how a name would be interpreted if used as a \n\tcommand name
|
||||
|
|
Loading…
Reference in a new issue