Commit 3585fdb2 authored by Guido Günther's avatar Guido Günther

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.
parent f22785b5
......@@ -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'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment