Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96047 - eix usage (--help) wraps lines on standard screen size (80x25)
Summary: eix usage (--help) wraps lines on standard screen size (80x25)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Other
: High trivial (vote)
Assignee: Benedikt Böhm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 02:18 UTC by Mikko Ruuska
Modified: 2005-07-05 01:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikko Ruuska 2005-06-14 02:18:41 UTC
eix's usage output has too long lines for the standard screen size (80x25), so
they wrap and look bad (--force-color, --installed and --fuzzy options and the
text at the bottom).

--force-color has a typo in desc:  "Force colorful ouput" should have "output".

The usage string is quite unstandard:

Usage: eix <[options] pattern> [ [-a|-o] <[options] pattern> .. ]

".." should be "...", also it appears that maybe author intends that every
pattern has options, but the grouping with <> is not standard and thus possibly
confusing.  I have to admit I don't know what would be the syntax to group
properly, so I guess it's just as well).

(<> are used to delimit a single parameter to differentiate them from words that
are not "variables", they may contain spaces so a <[options] pattern> looks fishy.)


Reproducible: Always
Steps to Reproduce:
1. eix --usage




12:17:18 aikiage:~ # equery l eix
[ Searching for package 'eix' in all categories among: ]
 * installed packages
[I--] [  ] app-portage/eix-0.2.2 (0)
Comment 1 Emil Beinroth 2005-06-15 11:04:31 UTC
I commited a patch for the textwidth-thing to upstream-cvs.
But I'am unsure what to do about the usage-string :)
Perhaps something similar to man 1 test?

eix [options] expression
Expressions are:
	expression [-o|-a] expression
	[local-options] pattern
Comment 2 Mikko Ruuska 2005-06-17 08:33:55 UTC
Yes, the test(1)-like syntax might work.
Comment 3 Emil Beinroth 2005-06-18 07:13:35 UTC
I just released eix-0.2.6. The fixes for this bug are included in the release.
Comment 4 Benedikt Böhm (RETIRED) gentoo-dev 2005-07-05 01:41:57 UTC
0.2.6 is in cvs..