1 |
commit: b1403d22c477e1801fa5c1f611a5509720fe2407 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 22 13:31:23 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 22 13:31:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=b1403d22 |
7 |
|
8 |
src/binutils-config: add --nocolor option |
9 |
|
10 |
For symmetry with gcc-config. Will allow iterating through |
11 |
targets in pkg_*() phases. |
12 |
|
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
src/binutils-config | 2 ++ |
16 |
1 file changed, 2 insertions(+) |
17 |
|
18 |
diff --git a/src/binutils-config b/src/binutils-config |
19 |
index fdee7df..4dc4939 100755 |
20 |
--- a/src/binutils-config |
21 |
+++ b/src/binutils-config |
22 |
@@ -36,6 +36,7 @@ cat << USAGE_END |
23 |
Usage: ${HILITE}binutils-config${NORMAL} ${GOOD}[options]${NORMAL} ${BRACKET}[binutils profile]${NORMAL} |
24 |
|
25 |
${HILITE}General Options:${NORMAL} |
26 |
+ ${GOOD}-C, --nocolor${NORMAL} Disable color output |
27 |
${GOOD}-c, --get-current-profile${NORMAL} Print current profile |
28 |
${GOOD}-l, --list-profiles${NORMAL} Print a list of available profiles |
29 |
${GOOD}-u, --uninstall${NORMAL} Remove all signs of specified target |
30 |
@@ -385,6 +386,7 @@ while [[ $# -gt 0 ]] ; do |
31 |
-c|--get-current-profile) select_action get_current_profile ;; |
32 |
-l|--list|--list-profiles) select_action list_profiles ;; |
33 |
-u|--uninstall) select_action uninstall_target ;; |
34 |
+ -C|--nocolor) ;; # nothing to do; functions.sh parsed this for us |
35 |
-d|--debug) DEBUG="yes" ;; |
36 |
-h|--help) usage 0 ;; |
37 |
--enable-native-links) USE_NATIVE_LINKS="yes" ;; |