diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-10-26 11:34:27 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-10-26 11:34:27 +0200 |
commit | 3092623a8841a6aa9e12902436779c8dea80598c (patch) | |
tree | 3ee0d22ae782f32fc1e8a3a55de5fed09088420b /debian | |
parent | d52abf37893c90c228ca043623a9bda214382239 (diff) | |
download | git-buildpackage-3092623a8841a6aa9e12902436779c8dea80598c.tar.gz git-buildpackage-3092623a8841a6aa9e12902436779c8dea80598c.tar.bz2 git-buildpackage-3092623a8841a6aa9e12902436779c8dea80598c.zip |
Add missing bash completion for gbp import-dscs
Closes: #727749
Diffstat (limited to 'debian')
-rw-r--r-- | debian/git-buildpackage.bash-completion | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index 40625326..c0127041 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -146,6 +146,18 @@ _gbp_import_dsc () } [ "${have:-}" ] && complete -F _gbp_import_dsc -o default git-import-dsc +have git-import-dscs && +_gbp_import_dscs () +{ + local options="$(_gbp_options git-import-dscs) $(_gbp_options git-import-dsc)" + local branch_opts="--debian-branch\= --upstream-branch\=" + local tag_opts="--debian-tag\= --upstream-tag\=" + local tristate_opts="--color\=" + + _gbp_comp "$options" "$branch_opts" "$tag_opts" "$tristate_opts" +} +[ "${have:-}" ] && complete -F _gbp_import_dscs -o default git-import-dscs + have gbp-pq && _gbp_pq () { |