[pacman-dev] [PATCH 2/2] Remove --force from completion
Allan McRae
allan at archlinux.org
Wed Oct 23 09:41:04 UTC 2019
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/completion/bash_completion.in | 4 ++--
scripts/completion/zsh_completion.in | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/scripts/completion/bash_completion.in b/scripts/completion/bash_completion.in
index 129a87aa..4e63aef9 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]'
)
--
2.23.0
More information about the pacman-dev
mailing list