Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/bash_completion.in
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-01-26 20:29:49 +1000
committerAllan McRae <allan@archlinux.org>2016-01-27 12:40:15 +1000
commitb65c7afc17a1b65195d9c3f198991a5de3c02956 (patch)
treed7f66c63db06d83a143c6b6ae808ad25d568fc7c /contrib/bash_completion.in
parentc781a85387b960bea5342e811cc086f536d2d8d8 (diff)
bash_completion: update makepkg completion
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'contrib/bash_completion.in')
-rw-r--r--contrib/bash_completion.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/contrib/bash_completion.in b/contrib/bash_completion.in
index 224b8f92..c74106fc 100644
--- a/contrib/bash_completion.in
+++ b/contrib/bash_completion.in
@@ -74,12 +74,13 @@ _makepkg() {
local cur opts prev
COMPREPLY=()
_get_comp_words_by_ref cur prev
- if [[ $cur = -* && ! $prev =~ ^-(-(config|help)$|\w*[Chp]) ]]; then
- opts=('allsource asdeps check clean config force geninteg help holdver ignorearch install
- key log needed noarchive nobuild nocheck nocolor noconfirm nodeps noextract noprepare
- noprogressbar nosign pkg repackage rmdeps sign skipchecksums skipinteg skippgpcheck
- source syncdeps verifysource version'
- 'A L R S c d e f g h i m o p r s')
+ if [[ $cur = -* && ! $prev =~ ^-(-(config|help|key|version)$|\w*[Vhp]) ]]; then
+ opts=('allsource asdeps check clean cleanbuild config force geninteg help
+ holdver ignorearch install key log needed noarchive nobuild nocheck
+ nocolor noconfirm nodeps noextract noprepare noprogressbar nosign
+ packagelist printsrcinfo repackage rmdeps sign skipchecksums
+ 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
fi
true