aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-09-14 18:21:17 +0200
committerGuido Günther <agx@sigxcpu.org>2017-09-14 18:32:34 +0200
commit01ee02783d51ffc6cd94820cb66c49812f9eeec9 (patch)
tree948336b5d6d0851d70548a0757f374c9be450a2e /debian
parentdb5c6700943706aa5f68e67769144b3a1efca8c5 (diff)
bash completion: add some missing branch and file opts
This unbreaks completion of options on some of the newer commands such as gbp export-orig --tarball-dir=<tab>
Diffstat (limited to 'debian')
-rw-r--r--debian/gbp.completion5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/gbp.completion b/debian/gbp.completion
index 1f7f484b..7aa3424d 100644
--- a/debian/gbp.completion
+++ b/debian/gbp.completion
@@ -48,14 +48,15 @@ _gbp_comp ()
local cur="${COMP_WORDS[COMP_CWORD]}"
local prev="${COMP_WORDS[COMP_CWORD - 1]}"
local options=$1
- local branch_opts=${2:-"--debian-branch\= --upstream-branch\="}
+ local branch_opts=${2:-"--debian-branch\= --upstream-branch\= --upstream-tree\="}
local tag_opts=${3:-"--debian-tag\= --upstream-tag\= --upstream-vcs-tag\="}
local tristate_opts=${4:-"--color\="}
local cbdist_opts=${5:-"--git-dist\="}
local remote_config_opts="--remote-config\="
local file_opts="--postimport\= --git-builder\= --git-cleaner\= \
--git-export-dir\= --git-postbuild\= --git-postexport\= \
- --git-posttag\= --git-prebuild\= --git-tarball-dir\="
+ --git-posttag\= --git-prebuild\= --git-tarball-dir\= \
+ --posttag\= --tarball-dir\="
local start_opt=""
# COMPREPLY considers '=' as a word. For $prev we prefer the word before the actual "="