aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-03-28 11:56:51 -0700
committerTim Harder <radhermit@gentoo.org>2014-03-28 11:59:24 -0700
commitf8132e8249f7c6814674dfe1be5039b1efe9112d (patch)
tree64282792718cb025b28655ae5b2707eabf284b5f
parent_portage_utils: indentation fixes (diff)
downloadzsh-completion-f8132e8249f7c6814674dfe1be5039b1efe9112d.tar.gz
zsh-completion-f8132e8249f7c6814674dfe1be5039b1efe9112d.tar.bz2
zsh-completion-f8132e8249f7c6814674dfe1be5039b1efe9112d.zip
_portage_utils: move --root option to common_args
-rw-r--r--_portage_utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/_portage_utils b/_portage_utils
index 994c943..5ceae4e 100644
--- a/_portage_utils
+++ b/_portage_utils
@@ -13,6 +13,7 @@ var=PORTDIR
local $var="`. /usr/share/portage/config/make.globals 2>/dev/null; echo ${(P)var}`"
common_args=(
+ '--root[Set the ROOT env var]:root directory:_files -/' \
{'(--verbose)-v','(-v)--verbose'}'[Make a lot of noise]' \
{'(--quiet)-q','(-q)--quiet'}'[Tighter output; suppress warnings]' \
{'(--nocolor)-C','(-C)--nocolor'}'[Do not output color]' \
@@ -78,7 +79,6 @@ case $service in
{'(--dir)-d','(-d)--dir'}'[Only show directories]' \
{'(--obj)-o','(-o)--obj'}'[Only show objects]' \
{'(--sym)-s','(-s)--sym'}'[Only show symlinks]' \
- '--root[Set the ROOT env var]:root directory:_files -/' \
'*:packages:_gentoo_packages installed'
;;
qlop)