Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 204176 - Add no color option to gcc-config
Summary: Add no color option to gcc-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-03 11:47 UTC by Bapt
Modified: 2008-03-16 01:18 UTC (History)
0 users

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


Attachments
The gcc-config patch (gcc-config.diff,985 bytes, patch)
2008-01-03 11:48 UTC, Bapt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bapt 2008-01-03 11:47:34 UTC
Here is patch for gcc-config that add an option to have a non colorized output in gcc-config, this patch is taken from #188961

This patch is needed to get working completion for zsh-completion on Gentoo/FreeBSD and Gentoo/Alt macosx at least

Reproducible: Always
Comment 1 Bapt 2008-01-03 11:48:58 UTC
Created attachment 139962 [details, diff]
The gcc-config patch
Comment 2 SpanKY gentoo-dev 2008-01-03 15:05:55 UTC
i doubt you *need* a color option ... gcc-config already respects the no color environment variables since it is just using baselayout for color

also, -n is not the correct option ... that is what -C is for
Comment 3 Bapt 2008-01-03 17:26:57 UTC
The patch was not mine, I just splitted the previous bug.

I didn't know about the environnement variable.
If you don't want to add a no color option to gcc-config, I can work around the completion function using RC_NOCOLOR=yes gcc-config -l now I now about RC_NOCOLOR

So We can consider this bug as fixed.
Comment 4 SpanKY gentoo-dev 2008-01-03 20:54:31 UTC
i'm not against adding a -C option (it's good for consistency with other Gentoo utilities), i'm just saying it isnt a blocker for other projects