summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-11 11:27:45 -0500
committerDan McGee <dan@archlinux.org>2011-08-11 11:29:49 -0500
commitd0c64c41965d49ac840a747d009de85b7eb9e92e (patch)
tree7e9804419353a5364caaa022782d0a47554026b3 /contrib
parent0bfefa87c8a7b34f9c8eeb7b2b7e4b1ba0e056d1 (diff)
Attempt to update zsh_completion
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/zsh_completion.in8
1 files changed, 7 insertions, 1 deletions
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