From b1403d22c477e1801fa5c1f611a5509720fe2407 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 22 May 2020 14:31:23 +0100 Subject: src/binutils-config: add --nocolor option For symmetry with gcc-config. Will allow iterating through targets in pkg_*() phases. Signed-off-by: Sergei Trofimovich --- src/binutils-config | 2 ++ 1 file changed, 2 insertions(+) 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" ;; -- cgit v1.2.3-65-gdbad