about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-06-18 09:48:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-06-18 09:48:58 +0000
commit4dc114f160fb82ef53174c55e02ee65282145c3e (patch)
treefb0b39b4bed6ddfef6f76a68d0038c130e68d980
parent5177458d40a62db8d0626719b73f549c71d27f86 (diff)
downloadzsh-4dc114f160fb82ef53174c55e02ee65282145c3e.tar.gz
zsh-4dc114f160fb82ef53174c55e02ee65282145c3e.tar.xz
zsh-4dc114f160fb82ef53174c55e02ee65282145c3e.zip
_arguments fix for configure, unconfirmed
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Base/Utility/_arguments4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ab60c3f73..becbc7762 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-18  Peter Stephenson  <pws@csr.com>
+
+	* 20033: Completion/Base/Utility/_arguments: unconfirmed fix
+	for configure output parsing with square brackets.
+
 2004-06-17  Oliver Kiddle  <opk@zsh.org>
 
 	* 20069: Completion/Unix/Command/_iconv: complete character
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.