diff options
-rw-r--r-- | Functions/Misc/run-help | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help index 4a0f5be8f..a6755e72f 100644 --- a/Functions/Misc/run-help +++ b/Functions/Misc/run-help @@ -15,7 +15,7 @@ setopt localoptions [[ $1 == ":" ]] && 1="colon" # Check whether Util/helpfiles has been used to generate zsh help -if [[ $1 == "-l" ]] +if [[ $# == 0 || $1 == "-l" ]] then if [[ -n "${HELPDIR:-}" && -d $HELPDIR ]] then |