Le 03/01/2010 20:12, Ville Skyttä a écrit : > On Sunday 03 January 2010, Guillaume Rousse wrote: >> The following commit has been merged in the master branch: >> commit f35923a50515c5bb0f3f843e7d6a99b979698e61 >> Author: Guillaume Rousse <[email protected]> >> Date: Sun Jan 3 18:13:31 2010 +0100 >> >> use _split_longopt >> >> diff --git a/contrib/wodim b/contrib/wodim > > I think this is broken and should be reverted. > > _split_longopt operates on long options that have two dashes (--*=*) whereas > (unless I missed something) wodim's options that take an argument don't have > any dashes at all (e.g. "dev=/dev/dvd"), and AFAIK wodim doesn't take them in > split form (e.g. "dev /dev/dvd") in the first place. Indeed, I've probably been wrong in my tests.
However, previous code does not work either: when completing 'blank=<TAB>': $cur== $prev=blank when completing 'blank=a<TAB>': $cur=a $prev== The _get_cword code is getting too much complex for me to fix this. -- BOFH excuse #399: We are a 100% Microsoft Shop. _______________________________________________ Bash-completion-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
