From d0c64c41965d49ac840a747d009de85b7eb9e92e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 11 Aug 2011 11:27:45 -0500 Subject: Attempt to update zsh_completion Signed-off-by: Dan McGee --- contrib/zsh_completion.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/zsh_completion.in b/contrib/zsh_completion.in index 2131412c..078b507b 100644 --- a/contrib/zsh_completion.in +++ b/contrib/zsh_completion.in @@ -33,6 +33,9 @@ _pacman_opts_common=( _pacman_opts_pkgfile=( '-d[Skip dependency checks]' '-f[Overwrite conflicting files]' + '--dbonly[Only remove database entry, do not remove files]' + '--needed[Do not reinstall up to date packages]' + '--recursive[Reinstall all dependencies of target packages]' '*:package file:_files -g "*.pkg.tar.*(.)"' ) @@ -62,9 +65,9 @@ _pacman_opts_query_modifiers=( _pacman_opts_remove=( '-c[Remove all dependent packages]' '-d[Skip dependency checks]' - '-k[Only remove database entry, do not remove files]' '-n[Remove protected configuration files]' '-s[Remove dependencies not required by other packages]' + '--dbonly[Only remove database entry, do not remove files]' '*:installed package:_pacman_completions_installed_packages' ) @@ -74,6 +77,9 @@ _pacman_opts_sync_actions=( '*-cc[Remove all packages from cache]:*:clean:->sync_clean' '-g[View all members of a package group]:*:package groups:->sync_group' '-s[Search package names and descriptions]:*:search text:->sync_search' + '--dbonly[Only remove database entry, do not remove files]' + '--needed[Do not reinstall up to date packages]' + '--recursive[Reinstall all dependencies of target packages]' ) # options for passing to _arguments: options for --sync command -- cgit v1.2.3-70-g09d2