diff options
author | axel <axel@liljencrantz.se> | 2005-12-04 23:22:18 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2005-12-04 23:22:18 +1000 |
commit | e4ade8f41b59c0f66f4162dae683f856fee1ed0f (patch) | |
tree | 5797843d652b56d23c33e1732ced915a18c5899a /init | |
parent | 9d7723b330ac89b7351807c9280188ef6ee24c7f (diff) |
Remove silly warnings in help script
darcs-hash:20051204132218-ac50b-e9e74283b7fe3f12a9af90f2b6d93b189e80a684.gz
Diffstat (limited to 'init')
-rw-r--r-- | init/fish_function.fish | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/init/fish_function.fish b/init/fish_function.fish index 1359e170..dc805449 100644 --- a/init/fish_function.fish +++ b/init/fish_function.fish @@ -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 |