[Bash-completion-devel] [bash-completion-Bugs][312728] bash-completion-1.2 uses wrong complete syntax

bash-completion-bugs at alioth.debian.org bash-completion-bugs at alioth.debian.org
Tue Sep 28 20:08:31 UTC 2010


Bugs item #312728, was changed at 2010-09-28 22:47 by Ville Skyttä 
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312728&group_id=100114

>Status: Closed
Priority: 3
Submitted By: Boris Petersen (transacid-guest)
Assigned to: Nobody (None)
Summary: bash-completion-1.2 uses wrong complete syntax 
Distribution: Gentoo
Originally reported in: Gentoo Bugzilla
Milestone: None
>Status: Fix Committed
Original bug number: 339059


Initial Comment:
bash-completion-1.2 uses a wrong syntax in it's service script

Reproducible: Always

Steps to Reproduce:
1. source bash-completion with service module enabled
Actual Results:  
the syntax error occurs in line 34, the call "complete -F _service -o default"
ends in: complete: usage: complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A
action] [-G globpat] [-W wordlist]  [-F function] [-C command] [-X filterpat]
[-P prefix] [-S suffix] [name ...]

Expected Results:  
the service module should use the right syntax.

I couldn't find a documentation of the complete syntax though i'm not able to
provide a solution.

----------------------------------------------------------------------

>Comment By: Ville Skyttä  (scop-guest)
Date: 2010-09-28 23:08

Message:
I believe this has already been fixed in git after the 1.2 release, see these commits:

http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=1f8b55a

http://git.debian.org/?p=bash-completion/bash-completion.git;a=commitdiff;h=603c259

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=312728&group_id=100114



More information about the Bash-completion-devel mailing list