diff options
-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() { |