app-shells/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.
You should really file this upstream. http://bash-completion.alioth.debian.org/
this is now upstream bug #312728 (see url)
It looks like it has already been reported [1] and fixed in git [2] [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586210 [2] http://git.debian.org/?p=bash-completion/bash-completion.git;a=commit;h=1f8b55a92aba6d03bb4c43dade1f8b2e2b847b61 Maybe a backport of that patch is feasible?
the upstream patch wfm. would be cool if it could be included in portage
+*bash-completion-1.3 (08 Feb 2011) + + 08 Feb 2011; Jeremy Olexa <darkside@gentoo.org> + +bash-completion-1.3.ebuild: + Upstream version bump, closes Gentoo bugs: 321241, 339059, 353216