From 3585fdb205b8ff40fed36e0a8743023376cd9b81 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 4 May 2015 19:01:46 +0200 Subject: bash-completion: Disable config section deprecation warnings It's of no use if we get these warnings on bash completion it only confuses users. They're still shown when running the actual command. --- debian/git-buildpackage.bash-completion | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index d6991a1b..a978d00e 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -23,7 +23,8 @@ _gbp_tags () _gbp_options () { - gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p' + GBP_DISABLE_SECTION_DEPRECTATION=true \ + gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p' } -- cgit v1.2.3