mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-25 12:23:09 +00:00
help: Fix error if no argument is given
This commit is contained in:
parent
146c62c603
commit
4e2b11f2e0
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ function help --description 'Show help for the fish shell'
|
|||
case "*"
|
||||
# If $fish_help_item is empty, this will fail,
|
||||
# and $fish_help_page will end up as index.html
|
||||
if type -q -f $fish_help_item
|
||||
if type -q -f "$fish_help_item"
|
||||
# Prefer to use fish's man pages, to avoid
|
||||
# the annoying useless "builtin" man page bash
|
||||
# installs on OS X
|
||||
|
|
Loading…
Reference in a new issue