From 3e992b58fc6dc2ce33f36f3edbbcc87c577c1345 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 4 Nov 1999 19:06:45 +0000 Subject: zsh-workers/8546 --- Functions/Misc/run-help | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Misc') 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 -- cgit 1.4.1