mirror of
https://github.com/moparisthebest/pacman
synced 2024-10-31 15:45:03 -04:00
Add --assume-installed to shell completion
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
9594f513a4
commit
f77933ea1e
@ -102,11 +102,11 @@ _pacman() {
|
||||
database=('asdeps asexplicit')
|
||||
query=('changelog check deps explicit file foreign groups info list owns
|
||||
search unrequired upgrades' 'c e g i k l m o p s t u')
|
||||
remove=('cascade dbonly nodeps nosave print recursive unneeded' 'c n p s 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
|
||||
info list needed nodeps print refresh recursive search sysupgrade'
|
||||
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 print recursive' 'p')
|
||||
upgrade=('asdeps asexplicit force needed nodeps assume-installed print recursive' 'p')
|
||||
common=('arch cachedir color config dbpath debug help logfile noconfirm
|
||||
noprogressbar noscriptlet quiet root verbose' 'b d h q r v')
|
||||
core=('database help query remove sync upgrade version' 'D Q R S U V h')
|
||||
|
@ -37,6 +37,7 @@ _pacman_opts_common=(
|
||||
_pacman_opts_pkgfile=(
|
||||
'*-d[Skip dependency checks]'
|
||||
'*--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]'
|
||||
@ -70,6 +71,7 @@ _pacman_opts_query_modifiers=(
|
||||
_pacman_opts_remove=(
|
||||
{-c,--cascade}'[Remove all dependent packages]'
|
||||
{*-d,*--nodeps}'[Skip dependency checks]'
|
||||
'*--assume-installed[Add virtual package to satisfy dependencies]'
|
||||
{-n,--nosave}'[Remove protected configuration files]'
|
||||
{\*-s,\*--recursive}'[Remove dependencies not required by other packages]'
|
||||
'--dbonly[Only remove database entry, do not remove files]'
|
||||
@ -96,6 +98,7 @@ _pacman_opts_sync_actions=(
|
||||
# options for passing to _arguments: options for --sync command
|
||||
_pacman_opts_sync_modifiers=(
|
||||
{\*-d,\*--nodeps}'[Skip dependency checks]'
|
||||
'*--assume-installed[Add virtual package to satisfy dependencies]'
|
||||
{\*-i,\*--info}'[View package information]'
|
||||
{-l,--list}'[List all packages in a repository]'
|
||||
{-p,--print}'[Print download URIs for each package to be installed]'
|
||||
|
Loading…
Reference in New Issue
Block a user