aboutsummaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorkitsunyan2018-03-18 21:54:00 +0000
committerkitsunyan2018-03-18 21:54:00 +0000
commitd1aa67f2c5fc2ee7a74037f38c6b79ca339cc2e4 (patch)
tree8f5f2c934507537ba45486424241f582c21c987e /completion
parentf0f1a5cd5e0f32f464c9bbef18e0f28d7119964e (diff)
Allow to specify keyserver using "--keyserver" option
Diffstat (limited to 'completion')
-rw-r--r--completion/bash.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/completion/bash.in b/completion/bash.in
index 86abb69..4663565 100644
--- a/completion/bash.in
+++ b/completion/bash.in
@@ -19,7 +19,7 @@ _pakku() {
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 assume-installed print refresh recursive search sysupgrade
- noaur build'
+ build keyserver noaur'
'c g i l p s u w y')
upgrade=('asdeps asexplicit force needed nodeps assume-installed print recursive' 'p')
common=('arch cachedir color config confirm dbpath debug gpgdir help hookdir logfile
@@ -33,7 +33,7 @@ _pakku() {
if [[ $? != 0 ]]; then
_arch_ptr2comp core
elif [[ ! $prev =~ ^-\w*[Vbhr] &&
- ! $prev = --@(cachedir|color|config|dbpath|help|hookdir|gpgdir|logfile|root|version) ]]
+ ! $prev = --@(cachedir|color|config|dbpath|help|hookdir|gpgdir|keyserver|logfile|root|version) ]]
then
[[ $cur = -* ]] && _arch_ptr2comp ${o#* } common ||
case ${o% *} in