aboutsummaryrefslogtreecommitdiff
path: root/zsh-completion/_cave
diff options
context:
space:
mode:
Diffstat (limited to 'zsh-completion/_cave')
-rw-r--r--zsh-completion/_cave9
1 files changed, 9 insertions, 0 deletions
diff --git a/zsh-completion/_cave b/zsh-completion/_cave
index d059ca96e..3dc787da8 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()
{