24
24
# --disable-shared Disables shared library builds.
25
25
# --disable-static Disables static library builds.
26
26
# --verbose Display verbose output (defaults to quiet on called tooling).
27
- # --help Display usage, overriding script execution.
27
+ # --help, -h Display usage, overriding script execution.
28
28
#
29
29
# Verified on Ubuntu 14.04, requires gcc-4.8 or newer.
30
30
# Verified on OSX 10.10, using MacPorts and Homebrew repositories, requires
@@ -239,7 +239,7 @@ display_help()
239
239
display_message " --prefix=<absolute-path> Library install location (defaults to /usr/local)."
240
240
display_message " --disable-shared Disables shared library builds."
241
241
display_message " --disable-static Disables static library builds."
242
- display_message " --help Display usage, overriding script execution."
242
+ display_message " --help, -h Display usage, overriding script execution."
243
243
display_message " "
244
244
display_message " All unrecognized options provided shall be passed as configuration options for "
245
245
display_message " all dependencies."
@@ -252,7 +252,7 @@ parse_command_line_options()
252
252
for OPTION in " $@ " ; do
253
253
case $OPTION in
254
254
# Standard script options.
255
- (--help) DISPLAY_HELP=" yes" ;;
255
+ (--help|-h) DISPLAY_HELP=" yes" ;;
256
256
(--verbose) DISPLAY_VERBOSE=" yes" ;;
257
257
258
258
# Standard build options.
0 commit comments