diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-21 19:31:39 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-21 19:31:39 -0400 |
commit | c3ef5e8b67989099b9dc01ba78d6ec513fe005bc (patch) | |
tree | 7bb61e5826a77aea8eb015ce35afee9fe9c3792f | |
parent | gcc-config: localize old config support to simplify rest of code (diff) | |
download | gcc-config-c3ef5e8b67989099b9dc01ba78d6ec513fe005bc.tar.gz gcc-config-c3ef5e8b67989099b9dc01ba78d6ec513fe005bc.tar.bz2 gcc-config-c3ef5e8b67989099b9dc01ba78d6ec513fe005bc.zip |
gcc-config: tweak usage() help and message
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-x | gcc-config | 42 |
1 files changed, 21 insertions, 21 deletions
@@ -44,27 +44,27 @@ GENTOO_LIBDIR="@GENTOO_LIBDIR@" [[ ${GENTOO_LIBDIR} == @*@ ]] && GENTOO_LIBDIR="lib" usage() { -cat << "USAGE_END" -Usage: gcc-config [options] [CC Profile] -Change the current cc/gcc profile, or give info about profiles. - -Options: - -C, --nocolor Disable color output - -O, --use-old Use the old profile if one was selected. - -f, --force Make sure all config files are regenerated. - -c, --get-current-profile Print current used gcc profile. - -l, --list-profiles Print a list of available profiles. - -S, --split-profile Split profiles into their components - -E, --print-environ Print environment that can be used to setup the - current gcc profile, or a specified one. - -B, --get-bin-path Print path where binaries of the given/current - profile are located. - -L, --get-lib-path Print path where libraries of the given/current - profile are located. - -Profile names are of the form: <CHOST>-<gcc version> -For example: i686-pc-linux-gnu-3.2.1 -USAGE_END + cat <<-EOF + Usage: gcc-config [options] [CC Profile] + Change the current compiler profile, or give info about profiles. + + Options: + -C, --nocolor Disable color output + -O, --use-old Use the old profile if one was selected. + -f, --force Make sure all config files are regenerated. + -c, --get-current-profile Print current used gcc profile. + -l, --list-profiles Print a list of available profiles. + -S, --split-profile Split profiles into their components + -E, --print-environ Print environment that can be used to setup the + current gcc profile, or a specified one. + -B, --get-bin-path Print path where binaries of the given/current + profile are located. + -L, --get-lib-path Print path where libraries of the given/current + profile are located. + + Profile names are of the form: <CTARGET>-<version> + For example: i686-pc-linux-gnu-3.2.1 + EOF exit ${1:-1} } [[ $# -lt 1 ]] && usage 1 |