From f90200c869dd5efa54dd410dc14cbd02f2f4ec05 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 29 Nov 2016 06:56:19 +0000 Subject: [PATCH] 40036: _bts: Complete removal syntaxes correctly. The incumbent pattern matched the minus in 'bts tag 42 - ' (and other, similar subcommands). --- ChangeLog | 5 +++++ Completion/Debian/Command/_bts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3255bf6b0..44fa6580b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-11-30 Daniel Shahaf + + * 40036: Completion/Debian/Command/_bts: Complete removal + syntaxes correctly. + 2016-11-29 Barton E. Schaefer * 40034: Src/subst.c: clear badcshglob when ignoring errors diff --git a/Completion/Debian/Command/_bts b/Completion/Debian/Command/_bts index d7aac9e3c..f415989b9 100644 --- a/Completion/Debian/Command/_bts +++ b/Completion/Debian/Command/_bts @@ -17,7 +17,7 @@ _arguments -A "-*" \ '(--no-conf --noconf)*'{--no-conf,--noconf}'[do not read any config files]' \ '*:subcommand and args:->subcmds' && return 0 -compset -N '-[^0-9]#' && first=0 +compset -N '-[^0-9]##' && first=0 compset -N '[,.]' && first=0 [[ $first -eq 0 ]] || compset -n 2