aboutsummaryrefslogtreecommitdiff
path: root/zsh-completion/_reconcilio
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-02 04:52:44 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2009-01-08 17:38:31 +0100
commit5ad0a637c880b187fcc24dc33a6f15eb18e0dfb5 (patch)
tree0ad1ae4a7f52049ec350af44cb67f54601510f88 /zsh-completion/_reconcilio
parent06ef544b47fb7644736a1db31e810cbde9fcd492 (diff)
downloadpaludis-5ad0a637c880b187fcc24dc33a6f15eb18e0dfb5.tar.gz
paludis-5ad0a637c880b187fcc24dc33a6f15eb18e0dfb5.tar.xz
zsh-completion: ++descriptions.
Diffstat (limited to 'zsh-completion/_reconcilio')
-rw-r--r--zsh-completion/_reconcilio26
1 files changed, 16 insertions, 10 deletions
diff --git a/zsh-completion/_reconcilio b/zsh-completion/_reconcilio
index 85e3f1a4a..180f6ab86 100644
--- a/zsh-completion/_reconcilio
+++ b/zsh-completion/_reconcilio
@@ -4,14 +4,14 @@
# ZSH completion for adjutrix
# Written by Baptiste Daroussin <baptux at free.fr>
_reconcilio() {
- local actions action_options general_options fix_linkage_options install_options deplist_options
+ local actions action_options general_options fix_linkage_options install_options deplist_descriptions deplist_options
actions=(
--fix-linkage
--version -V
--help -h
)
general_options=(
- '--log-level[Specify the log level]:log level:((debug\:Show\ debug\ output qa\:Show\ QA\ messages\ and\ warnings\ only warning\:Show\ warnings\ only silent\:Suppress\ all\ log\ messages))'
+ '--log-level[Specify the log level]:log level:((debug\:"Show debug output (noisy)" qa\:"Show QA messages and warnings only (default)" warning\:"Show warnings only" silent\:"Suppress all log messages (UNSAFE)"))'
'(--no-colour --no-color)'{--no-colour,--no-color}"[Do not use colour]"
"(--environment -E)"{-E,--environment}"[Environment specification]"
"--exact[Rebuild the same package version that is currently installed]"
@@ -31,6 +31,12 @@ _reconcilio() {
"--show-package-descriptions[Show package descriptions]:When:((none\:Don\'t\ show\ any\ descriptions new\:Show\ descriptions\ for\ new\ packages all\:Show\ descriptions\ for\ all\ packages))"
"--continue-on-failure[Whether to continue after a fetch or install error]:When:((if-fetch-only\:If\ fetching\ only never\:Never if-satisfied\:If\ remaining\ packages\ dependencies\ are\ satisfied if-independent\:If\ independent\ of\ failed\ and\ skipped\ packages always\:Always))"
)
+ deplist_descriptions='
+ pre\:"As pre dependencies"
+ pre-or-post\:"As pre dependencies, or post dependencies where needed"
+ post\:"As post dependencies"
+ try-post\:"As post dependencies, with no error for failures"
+ discard\:"Discard (default)"'
deplist_options=(
"--dl-blocks[How to handle blocks]:How:(accumulate error discard)"
"--dl-override-masks[Zero or more mask kinds that can be overridden as necessary]:What:(none tilde-keyword unkeyworded profile repository license)"
@@ -40,14 +46,14 @@ _reconcilio() {
"--dl-reinstall-scm[When to reinstall scm packages]:When:(never always daily weekly)"
"--dl-reinstall-targets[When to reinstall targets]:When:(auto never always)"
"--dl-upgrade[When to upgrade packages]:When:(always as-needed)"
- "--dl-deps-default[Override default behaviour for all dependency classes]:How:(pre pre-or-post post try-post discard)"
- "--dl-installed-deps-pre[How to handle pre dependencies for installed packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-installed-deps-runtime[How to handle runtime dependencies for installed packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-installed-deps-post[How to handle post dependencies for installed packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-uninstalled-deps-pre[How to handle pre dependencies for uninstalled packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-uninstalled-deps-post[How to handle post dependencies for uninstalled packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-uninstalled-deps-runtime[How to handle runtime dependencies for uninstalled packages]:How:(pre pre-or-post post try-post discard)"
- "--dl-uninstalled-deps-suggested[How to handle suggested dependencies for uninstalled packages]:How:(pre pre-or-post post try-post discard)"
+ "--dl-deps-default[Override default behaviour for all dependency classes]:How:(($deplist_descriptions))"
+ "--dl-installed-deps-pre[How to handle pre dependencies for installed packages]:How:(($deplist_descriptions))"
+ "--dl-installed-deps-runtime[How to handle runtime dependencies for installed packages]:How:(($deplist_descriptions))"
+ "--dl-installed-deps-post[How to handle post dependencies for installed packages]:How:(($deplist_descriptions))"
+ "--dl-uninstalled-deps-pre[How to handle pre dependencies for uninstalled packages]:How:(($deplist_descriptions))"
+ "--dl-uninstalled-deps-post[How to handle post dependencies for uninstalled packages]:How:(($deplist_descriptions))"
+ "--dl-uninstalled-deps-runtime[How to handle runtime dependencies for uninstalled packages]:How:(($deplist_descriptions))"
+ "--dl-uninstalled-deps-suggested[How to handle suggested dependencies for uninstalled packages]:How:(($deplist_descriptions))"
"--dl-circular[How to handle circular dependencies]:How:(error discard)"
"--dl-fall-back[When to fall back to installed packages]:When:(as-needed-except-targets as-needed never)"
"--dl-new-slots[When to pull in new slots (works with --dl-upgrade)]:When:(always as-needed)"