Summary: | app-admin/eselect: describe_x_options not working as expected. | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Ralph Sennhauser (RETIRED) <sera> |
Component: | eselect | Assignee: | Gentoo eselect Team <eselect> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
eselect module producing buggy output.
Patch that should fix the problem |
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. |
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.