aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-11-15 11:40:57 +0100
committerGuido Günther <agx@sigxcpu.org>2016-11-15 12:35:10 +0100
commitacf7a739d5f5b875bc3f02c3fe9148c4f8a6261b (patch)
tree01efd51f51e716b11559c0de08b4afa7224662bf
parent039a2860defb82b29ae50229ba35a8713a96d461 (diff)
Avoid deprecation on bash completion
-rw-r--r--debian/gbp.completion1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/gbp.completion b/debian/gbp.completion
index 546a6549..3cbf64bf 100644
--- a/debian/gbp.completion
+++ b/debian/gbp.completion
@@ -23,6 +23,7 @@ _gbp_tags ()
_gbp_options ()
{
+ GBP_DISABLE_GBP_CONF_DEPRECTATION=true \
GBP_DISABLE_SECTION_DEPRECTATION=true \
gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p'
}