diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-22 14:31:23 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-22 14:31:23 +0100 |
commit | b1403d22c477e1801fa5c1f611a5509720fe2407 (patch) | |
tree | e9c1389d7ffc753514256b1f89853adfe779b2b7 /src | |
parent | src/binutils-config: unbreak AND syntax for [[ ]] (diff) | |
download | binutils-config-b1403d22c477e1801fa5c1f611a5509720fe2407.tar.gz binutils-config-b1403d22c477e1801fa5c1f611a5509720fe2407.tar.bz2 binutils-config-b1403d22c477e1801fa5c1f611a5509720fe2407.zip |
src/binutils-config: add --nocolor optionv5.3
For symmetry with gcc-config. Will allow iterating through
targets in pkg_*() phases.
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'src')
-rwxr-xr-x | src/binutils-config | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/binutils-config b/src/binutils-config index fdee7df..4dc4939 100755 --- a/src/binutils-config +++ b/src/binutils-config @@ -36,6 +36,7 @@ cat << USAGE_END Usage: ${HILITE}binutils-config${NORMAL} ${GOOD}[options]${NORMAL} ${BRACKET}[binutils profile]${NORMAL} ${HILITE}General Options:${NORMAL} + ${GOOD}-C, --nocolor${NORMAL} Disable color output ${GOOD}-c, --get-current-profile${NORMAL} Print current profile ${GOOD}-l, --list-profiles${NORMAL} Print a list of available profiles ${GOOD}-u, --uninstall${NORMAL} Remove all signs of specified target @@ -385,6 +386,7 @@ while [[ $# -gt 0 ]] ; do -c|--get-current-profile) select_action get_current_profile ;; -l|--list|--list-profiles) select_action list_profiles ;; -u|--uninstall) select_action uninstall_target ;; + -C|--nocolor) ;; # nothing to do; functions.sh parsed this for us -d|--debug) DEBUG="yes" ;; -h|--help) usage 0 ;; --enable-native-links) USE_NATIVE_LINKS="yes" ;; |