summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-01-13 22:15:10 +0100
committerDan McGee <dan@archlinux.org>2008-01-21 19:39:26 -0600
commit2a7101c049dd1874da09d7d120f8855c61e55809 (patch)
treecd25104f2e775be279c4c49f4cd8579b8d174dbe /contrib
parentb2914bf0af388f369865859292b1c7342e785303 (diff)
New --asexplicit option
This is the symmetric of --asdeps, install packages explicitly. Documentation and completion files were updated accordingly. Added sync301.py and upgrade032.py pactest files to test this. I also made a little modification in ALLDEPS handling too. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bash_completion2
-rw-r--r--contrib/zsh_completion1
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/bash_completion b/contrib/bash_completion
index 77192858..bb30ffd0 100644
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -219,6 +219,7 @@ _pacman ()
A|U)
COMPREPLY=( $( compgen -W '\
--asdeps \
+ --asexplicit \
-d --nodeps \
-f --force \
-h --help \
@@ -257,6 +258,7 @@ _pacman ()
S)
COMPREPLY=( $( compgen -W '\
--asdeps \
+ --asexplicit \
-c --clean \
-d --nodeps \
-e --dependsonly \
diff --git a/contrib/zsh_completion b/contrib/zsh_completion
index 8dec06df..e5ad92b7 100644
--- a/contrib/zsh_completion
+++ b/contrib/zsh_completion
@@ -91,6 +91,7 @@ _pacman_opts_sync_modifiers=(
'*--ignoregroup[Ignore a group upgrade]:package group:
_pacman_completions_all_groups'
'--asdeps[Install packages as non-explicitly installed]'
+ '--asexplicit[Install packages as explicitly installed]'
)
# handles --action subcommand