diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-06-05 09:51:25 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-06-05 09:51:25 +0000 |
commit | ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1 (patch) | |
tree | cde3d39a4d0d2b6e5064360cea308589d0c17fef /Completion/Base/Utility/_arguments | |
parent | 4018e3c1493ea415ef9ad5eba83ad153263d3371 (diff) | |
download | zsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.tar.gz zsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.tar.xz zsh-ecdfa912ae9dc5bd7d98160ab88ae4f17fe761b1.zip |
18526: -O option to _describe for prefix-needed in _arguments
Diffstat (limited to 'Completion/Base/Utility/_arguments')
-rw-r--r-- | Completion/Base/Utility/_arguments | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Base/Utility/_arguments b/Completion/Base/Utility/_arguments index fe8edd61a..44be6db84 100644 --- a/Completion/Base/Utility/_arguments +++ b/Completion/Base/Utility/_arguments @@ -387,7 +387,7 @@ if (( $# )) && comparguments -i "$autod" "$singopt[@]" "$@"; then tmp1=( "${(M@)tmp1:#[-+]?(|:*)}" ) tmp2=( "${PREFIX}${(@M)^${(@)${(@)tmp1%%:*}#[-+]}:#?}" ) - _describe -o option \ + _describe -O option \ tmp1 tmp2 -Q -S '' -- \ tmp3 -Q @@ -399,7 +399,7 @@ if (( $# )) && comparguments -i "$autod" "$singopt[@]" "$@"; then single=yes else next=( "$next[@]" "$odirect[@]" ) - _describe -o option \ + _describe -O option \ next -Q -M "$matcher" -- \ direct -QS '' -M "$matcher" -- \ equal -QqS= -M "$matcher" |