summary refs log tree commit diff
path: root/Completion/Base/Utility/_arguments
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2011-12-13 17:43:01 +0000
committerBart Schaefer <barts@users.sourceforge.net>2011-12-13 17:43:01 +0000
commit3f98949ca8915d2d9c095ccaa65b308ab502b6c6 (patch)
treedfca163f8521ee50f1d9ef6d13b566af72df288b /Completion/Base/Utility/_arguments
parent93139f39f1efdb3f500b61b49045369e040770c0 (diff)
downloadzsh-3f98949ca8915d2d9c095ccaa65b308ab502b6c6.tar.gz
zsh-3f98949ca8915d2d9c095ccaa65b308ab502b6c6.tar.xz
zsh-3f98949ca8915d2d9c095ccaa65b308ab502b6c6.zip
30012: add $state_descr
Diffstat (limited to 'Completion/Base/Utility/_arguments')
-rw-r--r--Completion/Base/Utility/_arguments2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Base/Utility/_arguments b/Completion/Base/Utility/_arguments
index 126d9c315..d70c44259 100644
--- a/Completion/Base/Utility/_arguments
+++ b/Completion/Base/Utility/_arguments
@@ -344,6 +344,7 @@ if (( $# )) && comparguments -i "$autod" "$singopt[@]" "$@"; then
 
   context=()
   state=()
+  state_descr=()
 
   while true; do
     while _tags; do
@@ -376,6 +377,7 @@ if (( $# )) && comparguments -i "$autod" "$singopt[@]" "$@"; then
 	      if (( ! $state[(I)$action] )); then
                 comparguments -W line opt_args
                 state+=( "$action" )
+                state_descr+=( "$descr" )
 	        if [[ -n "$usecc" ]]; then
 	          curcontext="${oldcontext%:*}:$subc"
 	        else