diff options
-rw-r--r-- | debian/git-buildpackage.bash-completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index c6a1c824..ff71753c 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -16,7 +16,7 @@ _gbp_branches () _gbp_options () { - $1 --help | egrep -o '^ +\-\-[a-z\-]+=?' + $1 --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p' } |