diff options
author | 2010-03-19 10:10:18 +0100 | |
---|---|---|
committer | 2010-03-19 10:10:18 +0100 | |
commit | cf52a316897844d9813bf84a750d2718302fd5bd (patch) | |
tree | 6a12a418c25107928ee6787803f28aeb6964eb96 /zsh-completion | |
parent | a3f240c8b166805023d3b1fef383697a081baa04 (diff) | |
download | paludis-cf52a316897844d9813bf84a750d2718302fd5bd.tar.gz paludis-cf52a316897844d9813bf84a750d2718302fd5bd.tar.xz |
zsh-completion: cave fix-cache completion
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion/_cave | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave index a66da8678..63979fd3e 100644 --- a/zsh-completion/_cave +++ b/zsh-completion/_cave @@ -19,6 +19,7 @@ _cave() _cave_commands=( 'config:Perform post-install configuration on a package' + 'fix-cache:Fix on-disk caches' 'help:Display help information for a particular command' 'perform:Perform an action upon a package' 'print-categories:Prints a list of known categories' @@ -74,6 +75,17 @@ _cave_cmd_config() '(--help -h)'{--help,-h}'[Display help messsage]' } + +(( ${+functions[_cave_cmd_fix-cache]} )) || +_cave_cmd_fix-cache() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' \ + '(--repository -r)'{--repository,-r}'[Select the repository with the specified name]:repository name:_cave_repositories' \ + '(--installable -i --no-installable)'{--installable,-i,--no-installable}'[Select all installable repositories]' \ + '(--installed -I --no-installed)'{--installed,-I,--no-installed}'[Select all installed repositories]' +} + (( ${+functions[_cave_cmd_help]} )) || _cave_cmd_help() { |