aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2010-03-19 10:11:32 +0100
committerAvatar Ingmar Vanhassel <ingmar@exherbo.org> 2010-03-19 10:11:32 +0100
commitac728881de2b21d27e4dfef0a3451f77fe7d05a2 (patch)
tree7b4f2242400c1ab1403d66791f5a04b138e01afc
parentcf52a316897844d9813bf84a750d2718302fd5bd (diff)
downloadpaludis-ac728881de2b21d27e4dfef0a3451f77fe7d05a2.tar.gz
paludis-ac728881de2b21d27e4dfef0a3451f77fe7d05a2.tar.xz
zsh-completion: cave info completion
-rw-r--r--zsh-completion/_cave9
1 files changed, 8 insertions, 1 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index 63979fd..addae0f 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()
{