aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2012-10-20 21:16:14 -0700
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-10-21 13:17:28 +0100
commit22d9ff9ae7d6eaf376fe1980bb850000ab098fb2 (patch)
treeed7d98a13bb0e4b1cefe9f11a194fd1db9b3ffb9
parent4ebc2c4a82c19035dad2eb8fd4462a60a1a94c8a (diff)
downloadpaludis-22d9ff9ae7d6eaf376fe1980bb850000ab098fb2.tar.gz
paludis-22d9ff9ae7d6eaf376fe1980bb850000ab098fb2.tar.xz
zsh-completion: update
Add zsh completion for cave print-unmanaged-files. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
-rw-r--r--zsh-completion/_cave9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index d059ca9..3dc787d 100644
--- a/zsh-completion/_cave
+++ b/zsh-completion/_cave
@@ -71,6 +71,7 @@ _cave()
'print-sets:Prints a list of sets'
'print-spec:Prints a dependency specification'
'print-sync-protocols:Prints a list of sync protocols'
+ 'print-unmanaged-files:Prints unmanaged files'
'print-unused-distfiles:Prints all unused distfiles'
'purge:Uninstall unused packages'
'report:Display a summary of potential problems with installed packages'
@@ -667,6 +668,14 @@ _cave_cmd_print-sync-protocols()
'(--help -h)'{--help,-h}'[Display help messsage]'
}
+(( ${+functions[_cave_cmd_print-unmanaged-files]} )) ||
+_cave_cmd_print-unmanaged-files()
+{
+ _arguments -s : \
+ '(--help -h --root -r )'{--help,-h}'[Display help messsage]' \
+ '( --help -h )*'{--root,-r}'[Search under the specified root]:root:_directories' && return 0
+}
+
(( ${+functions[_cave_cmd_print-unused-distfiles]} )) ||
_cave_cmd_print-unused-distfiles()
{