app-shells/gentoo-bashcomp doesn't support completion of "new" features in revdep-rebuild. Reproducible: Always Steps to Reproduce: 1. emerge app-shells/gentoo-bashcomp 2. type revdep-rebuild [TAB] 3. only see a few selected options including the deprecated --soname Actual Results: Only a few options are autocompleted. Expected Results: All options should be autocompleted. I was bored so I rewrote the whole _revdep-rebuild completion from latest svn. Because I don't have svn access (and don't need one because of lack of time and knowledge) I'll post it here. I adopted many things from the emerge completion.
Created attachment 189892 [details, diff] Not-so-clean patch for revdep-rebuild
(In reply to comment #0) > I was bored so I rewrote the whole _revdep-rebuild completion from latest svn. > Because I don't have svn access (and don't need one because of lack of time and > knowledge) I'll post it here. I adopted many things from the emerge completion. The patch really tells me nothing. Can you summarize why you needed to rewrite it?
I rewrote it because the function was really outdated. It even included the deprecated --soname option. Also for example when you type in --library [TAB] it now autocompletes library names from /lib. If you don't want to include it that's no problem for me. I just thought that I would share it.
(In reply to comment #3) > If you don't want to include it that's no problem for me. I just thought that I > would share it. Nah, its all good. Your knowledge of bash-completion is already higher than mine :) Want to look at the other gentoo-bashcomp bugs too? bug 227139 & bug 235454 ;)
Well... I don't think my knowledge is higher. Last week I didn't even know about bash-completion plugins. :) But I'll check these bugs and will do what I can. That rc-update thing could be really useful...
Finn, in svn, thx. New release pending soonish.