From 4dc114f160fb82ef53174c55e02ee65282145c3e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 18 Jun 2004 09:48:58 +0000 Subject: _arguments fix for configure, unconfirmed --- Completion/Base/Utility/_arguments | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Base') diff --git a/Completion/Base/Utility/_arguments b/Completion/Base/Utility/_arguments index 44be6db84..05a287a5f 100644 --- a/Completion/Base/Utility/_arguments +++ b/Completion/Base/Utility/_arguments @@ -67,9 +67,9 @@ if (( long )); then # those hyphens and anything from the space or tab after the # option up to the end. - lopts=("--${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(_call_program options ${~words[1]} --help 2>&1)//\[--/ + lopts=("--${(@)${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(_call_program options ${~words[1]} --help 2>&1)//\[--/ --}:#[ ]#-*}//,/ -}}:#[ ]#--*}#*--}%%[] ]*}:#}") +}}:#[ ]#--*}#*--}%%[] ]*}:#}//\[=/=}") # Remove options also described by user-defined specs. -- cgit 1.4.1