diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-04 19:06:45 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-04 19:06:45 +0000 |
commit | 3e992b58fc6dc2ce33f36f3edbbcc87c577c1345 (patch) | |
tree | e2a6dc6e2188e1fe62a635947a298f430986fc9c | |
parent | eb2657992701023e66fd4bebf8ae113ca87431d6 (diff) | |
download | zsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.tar.gz zsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.tar.xz zsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.zip |
zsh-workers/8546
-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 |