aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-12-22 14:54:40 -0800
committerTim Harder <radhermit@gentoo.org>2014-12-22 14:54:40 -0800
commit4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257 (patch)
tree2fa8b55c1b75a260d09ae9dd701e7e2ca78b928c /src/_gentoolkit
parent_gentoolkit: initial eshowkw completion support (diff)
downloadzsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.tar.gz
zsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.tar.bz2
zsh-completion-4a07d0a65ab3f4f8a23f396d63ecacee9e0cc257.zip
_gentoolkit: add eshowkw completion support for comma-separated arch vals20150103
Diffstat (limited to 'src/_gentoolkit')
-rw-r--r--src/_gentoolkit2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_gentoolkit b/src/_gentoolkit
index b6a73b8..4d24688 100644
--- a/src/_gentoolkit
+++ b/src/_gentoolkit
@@ -308,7 +308,7 @@ _eshowkw () {
_arguments -s \
'(: -)'{-h,--help}'[Display help and exit]' \
'(: -)'{-v,--version}'[Show package version and exit]' \
- {'(--arch)-a','(-a)--arch'}'[Display only specified arch(es)]:arch(es):_gentoo_arches' \
+ {'(--arch)-a','(-a)--arch'}'[Display only specified arch(es)]:arch:_values -s , "arch" $(_gentoo_arches)' \
{'(--align)-A','(-A)--align'}'[Specify alignment for descriptions (default: bottom)]:alignment:((top bottom))' \
{'(--top-position)-T','(-T)--top-position'}'[Specify which fields we want to have in top listing (default: archlist)]:field:((archlist versionlist))' \
{'(--bold)-B','(-B)--bold'}'[Print out each other column in bold for easier visual separation]' \