about summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-11-04 19:06:45 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-11-04 19:06:45 +0000
commit3e992b58fc6dc2ce33f36f3edbbcc87c577c1345 (patch)
treee2a6dc6e2188e1fe62a635947a298f430986fc9c /Functions/Misc
parenteb2657992701023e66fd4bebf8ae113ca87431d6 (diff)
downloadzsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.tar.gz
zsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.tar.xz
zsh-3e992b58fc6dc2ce33f36f3edbbcc87c577c1345.zip
zsh-workers/8546
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/run-help2
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