aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2011-02-08 20:14:15 +0000
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2011-02-08 20:17:05 +0000
commit8734c1de6074e02882750830db8273b4fc485d48 (patch)
treef6fc5411d3b9154b4f4357cee82674cedf5ef384
parenteb446b03030d147fdd8cbf8b1382e71dc1aff083 (diff)
downloadpaludis-8734c1de6074e02882750830db8273b4fc485d48.tar.gz
paludis-8734c1de6074e02882750830db8273b4fc485d48.tar.xz
zsh-completion: Update for cave generate-metadata
-rw-r--r--zsh-completion/_cave9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index 5c44ac6..f525380 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()
{