From 3f98949ca8915d2d9c095ccaa65b308ab502b6c6 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 13 Dec 2011 17:43:01 +0000 Subject: 30012: add $state_descr --- Completion/Base/Utility/_arguments | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Base/Utility/_arguments') 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 -- cgit 1.4.1