Created attachment 286219 [details] eselect module producing buggy output. The attached testcase produce the following output on a multilib system: ######### Usage: eselect eselect-option-test <action> <options> Standard actions: help Display help text usage Display usage information version Display version information Extra actions: set <32bit|64bit> <plugin> Test is_multilib in * options plugin Handle or number in plugin list ########## Expected: The 32bit and 64bit option descriptions are visible as well.
That's a tricky one: Your is_multilib() gets called from within show_usage_message() where IFS is redefined. Therefore ${libdirs} is passed to has() not a separate words, but as a single parameter.
Created attachment 286871 [details, diff] Patch that should fix the problem Does attached patch fix the problem for you?
(In reply to comment #2) > Created attachment 286871 [details, diff] > Patch that should fix the problem > > Does attached patch fix the problem for you? The proposed patch does fix this issue for me. Thanks.
Fixed in SVN (revision 839).
This is fixed in eselect-1.2.18. Thank you for the bug report.