Update bash completion
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
ed37d78664
commit
84433c8800
1 changed files with 14 additions and 8 deletions
|
@ -175,11 +175,15 @@ _pacman ()
|
||||||
upgrades) mod="${mod}u" ;;
|
upgrades) mod="${mod}u" ;;
|
||||||
downloadonly) mod="${mod}w" ;;
|
downloadonly) mod="${mod}w" ;;
|
||||||
refresh) mod="${mod}y" ;;
|
refresh) mod="${mod}y" ;;
|
||||||
orphans) mod="${mod}e" ;;
|
changelog) mod="${mod}c" ;;
|
||||||
|
deps) mod="${mod}d" ;;
|
||||||
|
explicit) mod="${mod}e" ;;
|
||||||
|
orphans) mod="${mod}t" ;;
|
||||||
foreign) mod="${mod}m" ;;
|
foreign) mod="${mod}m" ;;
|
||||||
owns) mod="${mod}o" ;;
|
owns) mod="${mod}o" ;;
|
||||||
file) mod="${mod}p" ;;
|
file) mod="${mod}p" ;;
|
||||||
search) mod="${mod}s" ;;
|
search) mod="${mod}s" ;;
|
||||||
|
upgrades) mod="${mod}u" ;;
|
||||||
cascade) mod="${mod}c" ;;
|
cascade) mod="${mod}c" ;;
|
||||||
dbonly) mod="${mod}k" ;;
|
dbonly) mod="${mod}k" ;;
|
||||||
nosave) mod="${mod}n" ;;
|
nosave) mod="${mod}n" ;;
|
||||||
|
@ -216,12 +220,13 @@ _pacman ()
|
||||||
case "${op}" in
|
case "${op}" in
|
||||||
A|U|F)
|
A|U|F)
|
||||||
COMPREPLY=( $( compgen -W '\
|
COMPREPLY=( $( compgen -W '\
|
||||||
|
--asdeps \
|
||||||
-d --nodeps \
|
-d --nodeps \
|
||||||
-f --force \
|
-f --force \
|
||||||
-h --help \
|
-h --help \
|
||||||
--config \
|
--config \
|
||||||
|
--logfile \
|
||||||
--noconfirm \
|
--noconfirm \
|
||||||
--ask \
|
|
||||||
--noprogressbar \
|
--noprogressbar \
|
||||||
--noscriptlet \
|
--noscriptlet \
|
||||||
-v --verbose \
|
-v --verbose \
|
||||||
|
@ -235,14 +240,13 @@ _pacman ()
|
||||||
COMPREPLY=( $( compgen -W '\
|
COMPREPLY=( $( compgen -W '\
|
||||||
-c --cascade \
|
-c --cascade \
|
||||||
-d --nodeps \
|
-d --nodeps \
|
||||||
-f --force \
|
|
||||||
-h --help \
|
-h --help \
|
||||||
-k --dbonly \
|
-k --dbonly \
|
||||||
-n --nosave \
|
-n --nosave \
|
||||||
-s --recursive \
|
-s --recursive \
|
||||||
--config \
|
--config \
|
||||||
|
--logfile \
|
||||||
--noconfirm \
|
--noconfirm \
|
||||||
--ask \
|
|
||||||
--noprogressbar \
|
--noprogressbar \
|
||||||
--noscriptlet \
|
--noscriptlet \
|
||||||
-v --verbose \
|
-v --verbose \
|
||||||
|
@ -254,6 +258,7 @@ _pacman ()
|
||||||
;;
|
;;
|
||||||
S)
|
S)
|
||||||
COMPREPLY=( $( compgen -W '\
|
COMPREPLY=( $( compgen -W '\
|
||||||
|
--asdeps \
|
||||||
-c --clean \
|
-c --clean \
|
||||||
-d --nodeps \
|
-d --nodeps \
|
||||||
-e --dependsonly \
|
-e --dependsonly \
|
||||||
|
@ -269,8 +274,8 @@ _pacman ()
|
||||||
-y --refresh \
|
-y --refresh \
|
||||||
--ignore \
|
--ignore \
|
||||||
--config \
|
--config \
|
||||||
|
--logfile \
|
||||||
--noconfirm \
|
--noconfirm \
|
||||||
--ask \
|
|
||||||
--noprogressbar \
|
--noprogressbar \
|
||||||
--noscriptlet \
|
--noscriptlet \
|
||||||
-v --verbose \
|
-v --verbose \
|
||||||
|
@ -283,7 +288,8 @@ _pacman ()
|
||||||
Q)
|
Q)
|
||||||
COMPREPLY=( $( compgen -W '\
|
COMPREPLY=( $( compgen -W '\
|
||||||
-c --changelog \
|
-c --changelog \
|
||||||
-e --orphans \
|
-d --deps \
|
||||||
|
-e --explicit \
|
||||||
-g --groups \
|
-g --groups \
|
||||||
-h --help \
|
-h --help \
|
||||||
-i --info \
|
-i --info \
|
||||||
|
@ -292,11 +298,11 @@ _pacman ()
|
||||||
-o --owns \
|
-o --owns \
|
||||||
-p --file \
|
-p --file \
|
||||||
-s --search \
|
-s --search \
|
||||||
-t --test \
|
-t --orphans \
|
||||||
-u --upgrades \
|
-u --upgrades \
|
||||||
--config \
|
--config \
|
||||||
|
--logfile \
|
||||||
--noconfirm \
|
--noconfirm \
|
||||||
--ask \
|
|
||||||
--noprogressbar \
|
--noprogressbar \
|
||||||
--noscriptlet \
|
--noscriptlet \
|
||||||
-v --verbose \
|
-v --verbose \
|
||||||
|
|
Loading…
Add table
Reference in a new issue