diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2011-12-13 17:43:01 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2011-12-13 17:43:01 +0000 |
commit | 3f98949ca8915d2d9c095ccaa65b308ab502b6c6 (patch) | |
tree | dfca163f8521ee50f1d9ef6d13b566af72df288b /Completion/Base/Utility/_arguments | |
parent | 93139f39f1efdb3f500b61b49045369e040770c0 (diff) | |
download | zsh-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/_arguments | 2 |
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 |