diff options
author | 2010-03-19 10:11:32 +0100 | |
---|---|---|
committer | 2010-03-19 10:11:32 +0100 | |
commit | ac728881de2b21d27e4dfef0a3451f77fe7d05a2 (patch) | |
tree | 7b4f2242400c1ab1403d66791f5a04b138e01afc /zsh-completion | |
parent | cf52a316897844d9813bf84a750d2718302fd5bd (diff) | |
download | paludis-ac728881de2b21d27e4dfef0a3451f77fe7d05a2.tar.gz paludis-ac728881de2b21d27e4dfef0a3451f77fe7d05a2.tar.xz |
zsh-completion: cave info completion
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion/_cave | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave index 63979fd3e..addae0f00 100644 --- a/zsh-completion/_cave +++ b/zsh-completion/_cave @@ -21,6 +21,7 @@ _cave() 'config:Perform post-install configuration on a package' 'fix-cache:Fix on-disk caches' 'help:Display help information for a particular command' + 'info:Display a summary of configuration and package information' 'perform:Perform an action upon a package' 'print-categories:Prints a list of known categories' 'print-commands:Prints a list of known cave commands' @@ -75,7 +76,6 @@ _cave_cmd_config() '(--help -h)'{--help,-h}'[Display help messsage]' } - (( ${+functions[_cave_cmd_fix-cache]} )) || _cave_cmd_fix-cache() { @@ -100,6 +100,13 @@ _cave_cmd_help() esac } +(( ${+functions[_cave_cmd_info]} )) || +_cave_cmd_info() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' +} + (( ${+functions[_cave_cmd_perform]} )) || _cave_cmd_perform() { |