aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephan Friedrichs <deduktionstheorem@googlemail.com> 2010-11-24 18:07:34 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-24 17:11:22 +0000
commit82a496863bca5087cdf96a560788bc87d51f2b51 (patch)
treec7ab09e45df2cb0e5a96d17d752324e13730bbe2
parentb86d888cf77967bce49a2b295e993f05e58a87ef (diff)
downloadpaludis-82a496863bca5087cdf96a560788bc87d51f2b51.tar.gz
paludis-82a496863bca5087cdf96a560788bc87d51f2b51.tar.xz
Correct zsh-completion
-rw-r--r--zsh-completion/_cave34
1 files changed, 34 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index be9c603..0bc9660 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()
{