From dfabf50cf1ee78d5a1849fd19409ee23150506c4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 5 Jun 2009 11:18:01 +0000 Subject: 27305: fix GNU man option handling in run-help --- Functions/Misc/run-help | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Functions/Misc/run-help') diff --git a/Functions/Misc/run-help b/Functions/Misc/run-help index f5464065d..837ce1ff0 100644 --- a/Functions/Misc/run-help +++ b/Functions/Misc/run-help @@ -8,8 +8,7 @@ # autoload run-help # -emulate -R zsh -setopt localoptions +emulate -RL zsh local HELPDIR="${HELPDIR:-/usr/share/zsh/$ZSH_VERSION/help}" @@ -103,7 +102,7 @@ do done eval "run-help-$1:t ${(q@)cmd_args[2,-1]}" else - man $@:t + POSIXLY_CORRECT=1 man $@:t fi fi ;; -- cgit 1.4.1