commit: 331110ff4672c47664a2388b5d87f783d4ee727a
Author: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
AuthorDate: Sun Nov 23 21:35:13 2014 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun Nov 23 21:35:13 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=331110ff
Removed unnecessarily toggles from options, that doesn't require it. Also kinda
fixes jobs completion
Signed-off-by: Vadim A. Misbakh-Soloviov <mva <AT> mva.name>
---
src/_portage | 56 ++++++++++++++++++++++++++++----------------------------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/src/_portage b/src/_portage
index 57fc0a5..d8c3338 100644
--- a/src/_portage
+++ b/src/_portage
@@ -89,59 +89,59 @@ _emerge () {
"--color=[Color output]:yes/no:((y\:'yes' n\:'no'))"
"--accept-properties=[Temporarily override the ACCEPT_PROPERTIES
variable]"
"--accept-restrict=[Temporarily override the ACCEPT_RESTRICT variable]"
- "($noask_opts)"{-A,--alert=}"[Add a terminal bell to all interactive
prompts]:yes/no:((y\:'yes' n\:'no'))"
+ "($noask_opts)"{-A,--alert}"[Add a terminal bell to all interactive
prompts]"
"--ignore-default-opts[Ignore EMERGE_DEFAULT_OPTS]"
"--moo[Have you mooed today?]"
+ "(--jobs)"{--jobs=}"[Number of packages to build
simultaneously]:jobs:({1.."${#${$(</proc/cpuinfo)/^processor}}"})"
)
install_args=(
- '--deselect=[Remove atom from world file]:yes/no:((y\:'yes' n\:'no'))'
+ "--deselect[Remove atom from world file]"
"--alphabetical[Sort use/other flags output alphabetically despite of
status]"
"--ask-enter-invalid[When with --ask, interpret a single 'Enter' key
press as invalid input]"
- "--autounmask[Automatically unmask packages and generate
package.use]:yes/no:((y\:'yes' n\:'no'))"
- "--autounmask-unrestricted-atoms[Use >= for autounmask if
possible]:yes/no:((y\:'yes' n\:'no'))"
- "--autounmask-keep-masks[Don't unmask hardmasks and unkeyworded
(live)]:yes/no:((y\:'yes' n\:'no'))"
- "--autounmask-write[Automatically write autounmask changes (respect
CONFIG_PROTECT)]:yes/no:((y\:'yes' n\:'no'))"
+ "--autounmask[Automatically unmask packages and generate package.use]"
+ "--autounmask-unrestricted-atoms[Use >= for autounmask if possible]"
+ "--autounmask-keep-masks[Don't unmask hardmasks and unkeyworded (live)]"
+ "--autounmask-write[Automatically write autounmask changes (respect
CONFIG_PROTECT)]"
"--backtrack=[Number of times to backtrack if dependency calculation
fails]:number:(0 10 30)"
- "--binpkg-respect-use=[Ignore binary packages if their uses don't match
current config]:yes/no:((y\:'yes' n\:'no'))"
- "--complete-graph=[Consider the deep dependencies of all packages from
the world set]:yes/no:((y\:'yes' n\:'no'))"
- "--complete-graph-if-new-use=[--complete-graph if USE or IUSE will
change for an installed package]:yes/no:((y\:'yes' n\:'no'))"
- "--complete-graph-if-new-ver=[--complete-graph if an installed package
version will change]:yes/no:((y\:'yes' n\:'no'))"
+ "--binpkg-respect-use[Ignore binary packages if their uses don't match
current config]"
+ "--complete-graph[Consider the deep dependencies of all packages from
the world set]"
+ "--complete-graph-if-new-use[--complete-graph if USE or IUSE will
change for an installed package]"
+ "--complete-graph-if-new-ver[--complete-graph if an installed package
version will change]"
"--config-root=[Set PORTAGE_CONFIGROOT variable]:root path:_files -/"
- "--depclean-lib-check=[Check library link-level
dependencies]:yes/no:((y\:'yes' n\:'no'))"
+ "--depclean-lib-check[Check library link-level dependencies]"
"--digest[Prevent corruption from being noticed]"
- "--dynamic-deps=[Substitute the dependencies of installed packages with
the dependencies of corresponding unbuilt ebuilds]:yes/no:((y\:'yes' n\:'no'))"
- "--fail-clean=[Clean up temporary files after a build
failure]:yes/no:((y\:'yes' n\:'no'))"
- "--ignore-built-slot-operator-deps=[Ignore the slot/sub-slot
dependencies for built pkg]:yes/no:((y\:'yes' n\:'no'))"
- "(: $nopkg_opts)"{-j,--jobs=}"[Number of packages to build
simultaneously]:jobs:({1.."${#${$(</proc/cpuinfo)/^processor}}"})"
- "--keep-going[Continue as much as possible after an
error]:yes/no:((y\:'yes' n\:'no'))"
+ "--dynamic-deps[Substitute the dependencies of installed packages with
the dependencies of corresponding unbuilt ebuilds]"
+ "--fail-clean[Clean up temporary files after a build failure]"
+ "--ignore-built-slot-operator-deps[Ignore the slot/sub-slot
dependencies for built pkg]"
+ "--keep-going[Continue as much as possible after an error]"
"--load-average[No new builds should be started if there are other
builds running and the load average is at least VALUE]"
- "--misspell-suggestions[Enable or disable misspell
suggestions]:yes/no:((y\:'yes' n\:'no'))"
+ "--misspell-suggestions[Enable or disable misspell suggestions]"
"--newrepo[Recompile a package if it is now being pulled from a
different repository]"
"--usepkg-exclude[Ignore matching binary packages]:installed
atom:_gentoo_packages installed"
"--rebuild-exclude[Do not rebuild matching packages on
--rebuild]:installed atom:_gentoo_packages installed"
"--rebuild-ignore[Do not rebuild packages that depend on matching
packages on --rebuild]:installed atom:_gentoo_packages installed"
- "--package-moves[Perform package moves when
necessary]:yes/no:((y\:'yes' n\:'no'))"
+ "--package-moves[Perform package moves when necessary]"
"--pkg-format[Binary package format]:archive type:(tar rpm)"
"--prefix=[Set EPREFIX env variable]:prefix path:_files -/"
- "--quiet-build=[Redirect all build output to logs]:yes/no:((y\:'yes'
n\:'no'))"
- "--quiet-fail=[Suppresses display of the build log on
stdout]:yes/no:((y\:'yes' n\:'no'))"
+ "--quiet-build[Redirect all build output to logs]"
+ "--quiet-fail[Suppresses display of the build log on stdout]"
"--quiet-repo-display[Suppress ::repository in output (and use
numbers)]"
"--quiet-unmerge-warn[Disable the warning message on --unmerge and
friends]"
- "--rebuild-if-new-slot[Automatically rebuild or reinstall packages when
dependencies can be satisfied by a newer slot]:yes/no:((y\:'yes' n\:'no'))"
- "--rebuild-if-new-rev[Rebuild packages when build-time dependencies are
built from source, if the dependency is not already installed with the same
version and revision]:yes/no:((y\:'yes' n\:'no'))"
- "--rebuild-if-new-ver[Rebuild packages when build-time dependencies are
built from source, if the dependency is not already installed with the same
version]:yes/no:((y\:'yes' n\:'no'))"
- "--rebuild-if-unbuilt[Rebuild packages when build-time dependencies are
built from source]:yes/no:((y\:'yes' n\:'no'))"
- "--rebuilt-binaries[Replace installed packages with binary packages
that have been rebuilt]:yes/no:((y\:'yes' n\:'no'))"
+ "--rebuild-if-new-slot[Automatically rebuild or reinstall packages when
dependencies can be satisfied by a newer slot]"
+ "--rebuild-if-new-rev[Rebuild packages when build-time dependencies are
built from source, if the dependency is not already installed with the same
version and revision]"
+ "--rebuild-if-new-ver[Rebuild packages when build-time dependencies are
built from source, if the dependency is not already installed with the same
version]"
+ "--rebuild-if-unbuilt[Rebuild packages when build-time dependencies are
built from source]"
+ "--rebuilt-binaries[Replace installed packages with binary packages
that have been rebuilt]"
"--rebuilt-binaries-timestamp[Only binaries older than TIMESTAMP will
be considered by the rebuilt-binaries logic]:TIMESTAMP"
"--reinstall[Alias for --changed-use (currently)]:reinstall
opts:(changes-use)"
"--reinstall-atoms[Treat matching packages as if they are not
installed]:installed atoms:_gentoo_packages installed"
"--root=[Set ROOT env variable]:prefix path:_files -/"
- "(: $nopkg_opts)"{-w,--select=}"[Add specified packages to the world
set (inverse of --oneshot)]:yes/no:((y\:'yes' n\:'no'))"
+ "(: $nopkg_opts)"{-w,--select}"[Add specified packages to the world set
(inverse of --oneshot)]"
"--selective=[Use --selective=n if you want to forcefully disable
--selective, regardless of options like --changed-use, --newuse, --noreplace,
or --update]:yes/no:((y\:'yes' n\:'no'))"
"--unordered-display[Produce more readable package tree with --tree]"
- "--use-ebuild-visibility[Use unbuilt ebuild metadata for visibility
checks on built packages]:yes/no:((y\:'yes' n\:'no'))"
+ "--use-ebuild-visibility[Use unbuilt ebuild metadata for visibility
checks on built packages]"
"--useoldpkg-atoms[Prefer matching binary packages over newer unbuilt
packages]:available atom:_gentoo_packages available"
- "($bopts)"{-b,--buildpkg=}"[Tells emerge to build binary packages]:(y n)"
+ "($bopts)"{-b,--buildpkg}"[Tells emerge to build binary packages]"
"($bopts)--buildpkg-exclude[Space separated list of package atoms for
which no binary packages should be built]"
"($bopts)--exclude[Space separated list of package names or slot atoms
which should not be installed]"
"($bopts)"{-B,--buildpkgonly}"[Tells emerge to only build binary packages]"