1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

bash_completion: update makepkg completion

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2016-01-26 20:29:49 +10:00
parent c781a85387
commit b65c7afc17

View File

@ -74,12 +74,13 @@ _makepkg() {
local cur opts prev local cur opts prev
COMPREPLY=() COMPREPLY=()
_get_comp_words_by_ref cur prev _get_comp_words_by_ref cur prev
if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then if [[ $cur = -* && ! $prev =~ ^-(-(config|help|key|version)$|\w*[Vhp]) ]]; then
opts=('allsource asdeps check clean config force geninteg help holdver ignorearch install opts=('allsource asdeps check clean cleanbuild config force geninteg help
key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract noprepare holdver ignorearch install key log needed noarchive nobuild nocheck
noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg skippgpcheck nocolor noconfirm nodeps noextract noprepare noprogressbar nosign
source syncdeps verifysource version' packagelist printsrcinfo repackage rmdeps sign skipchecksums
'A L R S c d e f g h i m o p r s') skipinteg skippgpcheck source syncdeps verifysource version'
'A C L R S c d e f g h i m o p r s')
_arch_ptr2comp opts _arch_ptr2comp opts
fi fi
true true