| Summary: | equery ignores --nocolor (and -C and NOCOLOR environment variable) when --help is given | ||
|---|---|---|---|
| Product: | Portage Development | Reporter: | Alexander Wessel <flexx> |
| Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | Keywords: | InVCS |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Accepts --nocolor or NOCOLOR with --help
Patch against equery 0.1.4 |
||
|
Description
Alexander Wessel
2005-07-11 01:58:52 UTC
Created attachment 68330 [details, diff]
Accepts --nocolor or NOCOLOR with --help
Although the man page says that <global-opt> has to be 'one' of the following:
-q, --quiet - minimal output
-C, --nocolor - turn off colours
-h, --help - this help screen
-V, --version - display version info
I think that equery should accept the fact that not all terminals support color
when displaying help. This patch should fix this.
Created attachment 68333 [details, diff]
Patch against equery 0.1.4
The former patch was against equery 0.1.3
Fix is in subversion Fix is in gentoolkit-0.2.1_pre8 Confirmed, works in gentoolkit-0.2.1_pre8. Thanks a million, Alexander Wessel Fixed in gentoolkit-0.2.1 |