1 |
commit: f8132e8249f7c6814674dfe1be5039b1efe9112d |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 28 18:56:51 2014 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 28 18:59:24 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=f8132e82 |
7 |
|
8 |
_portage_utils: move --root option to common_args |
9 |
|
10 |
--- |
11 |
_portage_utils | 2 +- |
12 |
1 file changed, 1 insertion(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/_portage_utils b/_portage_utils |
15 |
index 994c943..5ceae4e 100644 |
16 |
--- a/_portage_utils |
17 |
+++ b/_portage_utils |
18 |
@@ -13,6 +13,7 @@ var=PORTDIR |
19 |
local $var="`. /usr/share/portage/config/make.globals 2>/dev/null; echo ${(P)var}`" |
20 |
|
21 |
common_args=( |
22 |
+ '--root[Set the ROOT env var]:root directory:_files -/' \ |
23 |
{'(--verbose)-v','(-v)--verbose'}'[Make a lot of noise]' \ |
24 |
{'(--quiet)-q','(-q)--quiet'}'[Tighter output; suppress warnings]' \ |
25 |
{'(--nocolor)-C','(-C)--nocolor'}'[Do not output color]' \ |
26 |
@@ -78,7 +79,6 @@ case $service in |
27 |
{'(--dir)-d','(-d)--dir'}'[Only show directories]' \ |
28 |
{'(--obj)-o','(-o)--obj'}'[Only show objects]' \ |
29 |
{'(--sym)-s','(-s)--sym'}'[Only show symlinks]' \ |
30 |
- '--root[Set the ROOT env var]:root directory:_files -/' \ |
31 |
'*:packages:_gentoo_packages installed' |
32 |
;; |
33 |
qlop) |