diff options
author | 2010-03-23 19:29:37 +0100 | |
---|---|---|
committer | 2010-03-23 19:29:39 +0100 | |
commit | 83616e1eb920eefb8d74141b9b6dc7fad140e519 (patch) | |
tree | 24db2b27f96cb333e1c9accbc5e22c321cf97d73 /zsh-completion | |
parent | bfe183236ad38d16716489f7b604a9f9a7b13f7c (diff) | |
download | paludis-83616e1eb920eefb8d74141b9b6dc7fad140e519.tar.gz paludis-83616e1eb920eefb8d74141b9b6dc7fad140e519.tar.xz |
zsh-completion: cave fix-linkage completion
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion/_cave | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave index 9d1a987bc..0b220e1bc 100644 --- a/zsh-completion/_cave +++ b/zsh-completion/_cave @@ -20,6 +20,7 @@ _cave() _cave_commands=( 'config:Perform post-install configuration on a package' 'fix-cache:Fix on-disk caches' + 'fix-linkage:Identify packages with broken linkage that can be fixed by rebuilds' 'help:Display help information for a particular command' 'info:Display a summary of configuration and package information' 'perform:Perform an action upon a package' @@ -87,6 +88,15 @@ _cave_cmd_fix-cache() '(--installed -I --no-installed)'{--installed,-I,--no-installed}'[Select all installed repositories]' } +(( ${+functions[_cave_cmd_fix-linkage]} )) || +_cave_cmd_fix-linkage() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' \ + '--library[Only rebuild packages linked against this library, even if it exists]:Library: ' \ + '--exact[Rebuild the same package version that is currently installed]' +} + (( ${+functions[_cave_cmd_help]} )) || _cave_cmd_help() { |