summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2019-10-23 11:40:18 +0200
committerAllan McRae <allan@archlinux.org>2019-10-23 14:06:54 +0200
commita9835a38a38e0045e13b68fe6d486b4ffebe6d79 (patch)
treef800dfc980e0c244374d7b3de31e8776cb0eef8c
parentcd4f8f7530ad473ce0ad6b8e68485082b219e317 (diff)
downloadpacman-a9835a38a38e0045e13b68fe6d486b4ffebe6d79.tar.gz
pacman-a9835a38a38e0045e13b68fe6d486b4ffebe6d79.tar.xz
Remove --force from completion
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/completion/bash_completion.in4
-rw-r--r--scripts/completion/zsh_completion.in2
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/completion/bash_completion.in b/scripts/completion/bash_completion.in
index fabda72f..1c6cb1ea 100644
--- a/scripts/completion/bash_completion.in
+++ b/scripts/completion/bash_completion.in
@@ -113,10 +113,10 @@ _pacman() {
query=('changelog check deps explicit file foreign groups info list native owns
search unrequired upgrades' 'c e g i k l m n o p s t u')
remove=('cascade dbonly nodeps assume-installed nosave print recursive unneeded' 'c n p s u')
- sync=('asdeps asexplicit clean dbonly downloadonly force groups ignore ignoregroup
+ sync=('asdeps asexplicit clean dbonly downloadonly groups ignore ignoregroup
info list needed nodeps assume-installed print refresh recursive search sysupgrade'
'c g i l p s u w y')
- upgrade=('asdeps asexplicit force needed nodeps assume-installed print recursive' 'p')
+ upgrade=('asdeps asexplicit needed nodeps assume-installed print recursive' 'p')
common=('arch cachedir color config confirm dbpath debug gpgdir help hookdir logfile
noconfirm noprogressbar noscriptlet quiet root verbose' 'b d h q r v')
core=('database files help query remove sync upgrade version' 'D F Q R S U V h')
diff --git a/scripts/completion/zsh_completion.in b/scripts/completion/zsh_completion.in
index 82868344..92fc2382 100644
--- a/scripts/completion/zsh_completion.in
+++ b/scripts/completion/zsh_completion.in
@@ -44,7 +44,6 @@ _pacman_opts_pkgfile=(
'*--nodeps[Skip dependency checks]'
'*--assume-installed[Add virtual package to satisfy dependencies]'
'--dbonly[Only remove database entry, do not remove files]'
- '--force[Overwrite conflicting files]'
'--needed[Do not reinstall up to date packages]'
'--asdeps[mark packages as non-explicitly installed]'
'--asexplicit[mark packages as explicitly installed]'
@@ -133,7 +132,6 @@ _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]'
- '--force[Overwrite conflicting files]'
'--print-format[Specify how the targets should be printed]'
)