da30a1d6d2709d768c68de122d6d0ab96c5a9a90
- Author
- Frederick Zhang <frederick888@tsundere.moe>
- Committer
- Frederick Zhang <frederick888@tsundere.moe>
- Date
Message
Diff
This diff is truncated to protect this page.
1diff --git a/plugins/cargo/_cargo b/plugins/cargo/_cargo
2index 3eb3acb969b01272108fda40b6a5d5270fe96931..99eac2bdbc46689151e5d953ea741fb6c6fce5b3 100644
3--- a/plugins/cargo/_cargo
4+++ b/plugins/cargo/_cargo
5@@ -34,7 +34,7 @@ case $state in
6 '--target=[target triple]: :_get_targets' \
7 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
8 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
9- '--color=:colorization option:(auto always never)' \
10+ '--color=[coloring]:colorization option:(auto always never)' \
11 ;;
12
13 build)
14@@ -51,7 +51,7 @@ case $state in
15 '--target=[target triple]: :_get_targets' \
16 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
17 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
18- '--color=:colorization option:(auto always never)' \
19+ '--color=[coloring]:colorization option:(auto always never)' \
20 ;;
21
22 clean)
23@@ -63,7 +63,7 @@ case $state in
24 '--release[whether or not to clean release artifacts]' \
25 '--target=[target triple(default:all)]: :_get_targets' \
26 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
27- '--color=:colorization option:(auto always never)' \
28+ '--color=[coloring]:colorization option:(auto always never)' \
29 ;;
30
31 doc)
32@@ -81,7 +81,7 @@ case $state in
33 '--release[build artifacts in release mode, with optimizations]' \
34 '--target=[build for the target triple]: :_get_targets' \
35 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
36- '--color=:colorization option:(auto always never)' \
37+ '--color=[coloring]:colorization option:(auto always never)' \
38 ;;
39
40 fetch)
41@@ -90,7 +90,7 @@ case $state in
42 '--manifest-path=[path to manifest]: :_files -/' \
43 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
44 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
45- '--color=:colorization option:(auto always never)' \
46+ '--color=[coloring]:colorization option:(auto always never)' \
47 ;;
48
49 generate-lockfile)
50@@ -99,7 +99,7 @@ case $state in
51 '--manifest-path=[path to manifest]: :_files -/' \
52 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
53 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
54- '--color=:colorization option:(auto always never)' \
55+ '--color=[coloring]:colorization option:(auto always never)' \
56 ;;
57
58 git-checkout)
59@@ -109,7 +109,7 @@ case $state in
60 '--reference=[REF]' \
61 '--url=[URL]' \
62 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
63- '--color=:colorization option:(auto always never)' \
64+ '--color=[coloring]:colorization option:(auto always never)' \
65 ;;
66
67 help)
68@@ -126,14 +126,14 @@ case $state in
69 '--name=[set the resulting package name]' \
70 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
71 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
72- '--color=:colorization option:(auto always never)' \
73+ '--color=[coloring]:colorization option:(auto always never)' \
74 ;;
75
76 install)
77 _arguments \
78 '--bin=[only install the specified binary]' \
79 '--branch=[branch to use when installing from git]' \
80- '--color=:colorization option:(auto always never)' \
81+ '--color=[coloring]:colorization option:(auto always never)' \
82 '--debug[build in debug mode instead of release mode]' \
83 '--example[install the specified example instead of binaries]' \
84 '--features=[space separated feature list]' \
85@@ -163,7 +163,7 @@ case $state in
86 '--host=[Host to set the token for]' \
87 '(-q, --quiet)'{-q,--quiet}'[no output printed to stdout]' \
88 '(-v, --verbose)'{-v,--verbose}'[use verbose output]' \
89- '--color=:colorization option:(auto always never)' \
90+ '--color=[coloring]:colorization option:(auto always never)' \
91 ;;
92
93 metadata)
94@@ -177,7 +177,7 @@ case $state in
95 '--features=[space separated feature list]' \
96 '--all-features[enable all available features]' \
97 '--format-version=[format version(default: 1)]' \
98- '--color=:colorization option:(auto always never)' \
99+ '--color=[coloring]:colorization option:(auto always never)' \
100 ;;
101
102 new)
103@@ -188,7 +188,7 @@ case $state in
104 '--name=[set the resulting package name]' \