diff options
Diffstat (limited to 'zsh-completion')
-rw-r--r-- | zsh-completion/_cave | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave index be9c6030b..0bc96609d 100644 --- a/zsh-completion/_cave +++ b/zsh-completion/_cave @@ -348,6 +348,15 @@ _cave_cmd_perform() esac } +(( ${+functions[_cave_cmd_print-best-version]} )) || +_cave_cmd_print-best-version() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' \ + '(--format -f)'{--format,-f}'[Select the output format]:Format:((full f spec s name n version v name-version V))' \ + '*:package depspec:_cave_packages' && return 0 +} + (( ${+functions[_cave_cmd_print-categories]} )) || _cave_cmd_print-categories() { @@ -454,6 +463,16 @@ _cave_cmd_print-id-metadata() '*:package depspec:_cave_packages' && return 0 } +(( ${+functions[_cave_cmd_print-id-size]} )) || +_cave_cmd_print-id-size() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' \ + '(--all --no-all -a)'{--all,--no-all,-a}'[If the spec matches multiple IDs, display all matches]' \ + '(--best --no-best -b)'{--best,--no-best,-b}'[If the spec matches multiple IDs, select the best ID rather than giving an error]' \ + '*:package depspec:_cave_packages' && return 0 +} + (( ${+functions[_cave_cmd_print-ids]} )) || _cave_cmd_print-ids() { @@ -534,6 +553,13 @@ _cave_cmd_print-sync-protocols() '(--help -h)'{--help,-h}'[Display help messsage]' } +(( ${+functions[_cave_cmd_print-unused-distfiles]} )) || +_cave_cmd_print-unused-distfiles() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' +} + (( ${+functions[_cave_cmd_report]} )) || _cave_cmd_report() { @@ -675,6 +701,14 @@ _cave_cmd_show() '*:package depspec:_cave_packages' && return 0 } +(( ${+functions[_cave_cmd_size]} )) || +_cave_cmd_size() +{ + _arguments -s : \ + '(--help -h)'{--help,-h}'[Display help messsage]' \ + '*:package depspec:_cave_packages' && return 0 +} + (( ${+functions[_cave_cmd_sync]} )) || _cave_cmd_sync() { |