aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zsh-completion/_cave9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index 5c44ac607..f525380ae 100644
--- a/zsh-completion/_cave
+++ b/zsh-completion/_cave
@@ -36,6 +36,7 @@ _cave()
'find-candidates:Find a list of candidate packages for a search'
'fix-cache:Fix on-disk caches'
'fix-linkage:Identify packages with broken linkage that can be fixed by rebuilds'
+ 'generate-metadata:Pregenerate metadata for a set of IDs'
"graph-jobs:Creates a Graphviz graph for jobs in a resolution created using \'cave resolve\'"
'has-version:Returns success if there is an installed package matching a particular spec'
'help:Display help information'
@@ -188,6 +189,14 @@ _cave_cmd_execute-resolution()
'--unpackaged-repository-params[Specifies the parameters used to construct an unpackaged repository]'
}
+(( ${+functions[_cave_cmd_generate-metadata]} )) ||
+_cave_cmd_generate-metadata()
+{
+ _arguments -s : \
+ '(--help -h)'{--help,-h}'[Display help messsage]' \
+ '(--matching -m)'{--matching,-m}'[Consider only IDs matching this spec]'
+}
+
(( ${+functions[_cave_cmd_find-candidates]} )) ||
_cave_cmd_find-candidates()
{