commit:     ad336e049fc070ced77240b228829a2258929605
Author:     Allen-Kristjan Päll <akpall <AT> fst <DOT> ee>
AuthorDate: Fri Dec 27 19:34:52 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan  7 20:47:39 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/binutils-config.git/commit/?id=ad336e04

src/binutils-config: add missing help options

-V, --version
-h, --help
--list

Signed-off-by: Allen-Kristjan Päll <akpall <AT> fst.ee>
Closes: https://github.com/gentoo/binutils-config/pull/2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 src/binutils-config | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/src/binutils-config b/src/binutils-config
index 43d38e5..9bc195c 100755
--- a/src/binutils-config
+++ b/src/binutils-config
@@ -38,20 +38,22 @@ 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
-  ${GOOD}-d, --debug${NORMAL}                Execute with debug output
-
-  ${GOOD}-B, --get-bin-path${NORMAL}         Print path where binaries of the 
given/current
-                             profile are located.
-  ${GOOD}-L, --get-lib-path${NORMAL}         Print path where libraries of the 
given/current
-                             profile are located.
-
-Profile names are of the form:  ${BRACKET}<CTARGET>-<binutils 
version>${NORMAL}, ${BRACKET}latest${NORMAL},
-                                ${BRACKET}<CTARGET>-latest${NORMAL}, 
${BRACKET}latest${NORMAL}.
-For example:                    
${BRACKET}i686-pc-linux-gnu-2.15.92.0.2${NORMAL}
+ ${GOOD} -C, --nocolor             ${NORMAL} Disable color output
+ ${GOOD} -V, --version             ${NORMAL} Prints the version
+ ${GOOD} -c, --get-current-profile ${NORMAL} Print current profile
+ ${GOOD} -d, --debug               ${NORMAL} Execute with debug output
+ ${GOOD} -h, --help                ${NORMAL} Prints this help
+ ${GOOD} -l, --list{,-profiles}    ${NORMAL} Print a list of available profiles
+ ${GOOD} -u, --uninstall           ${NORMAL} Remove all signs of specified 
target
+
+ ${GOOD} -B, --get-bin-path        ${NORMAL} Print path where binaries of the 
given/current
+ ${GOOD}                           ${NORMAL} profile are located.
+ ${GOOD} -L, --get-lib-path        ${NORMAL} Print path where libraries of the 
given/current
+ ${GOOD}                           ${NORMAL} profile are located.
+
+Profile names are of the form: ${BRACKET} <CTARGET>-<binutils 
version>${NORMAL}, ${BRACKET}latest${NORMAL},
+                               ${BRACKET} <CTARGET>-latest${NORMAL}, 
${BRACKET}latest${NORMAL}.
+For example:                   ${BRACKET} 
i686-pc-linux-gnu-2.15.92.0.2${NORMAL}
 
 For more info, please see ${HILITE}binutils-config${NORMAL}(8).
 USAGE_END

Reply via email to