2525# --disable-shared Disables shared library builds.
2626# --disable-static Disables static library builds.
2727# --verbose Display verbose output (defaults to quiet on called tooling).
28- # --help Display usage, overriding script execution.
28+ # --help, -h Display usage, overriding script execution.
2929#
3030# Verified on Ubuntu 14.04, requires gcc-4.8 or newer.
3131# Verified on OSX 10.10, using MacPorts and Homebrew repositories, requires
@@ -247,7 +247,7 @@ display_help()
247247 display_message " --prefix=<absolute-path> Library install location (defaults to /usr/local)."
248248 display_message " --disable-shared Disables shared library builds."
249249 display_message " --disable-static Disables static library builds."
250- display_message " --help Display usage, overriding script execution."
250+ display_message " --help, -h Display usage, overriding script execution."
251251 display_message " "
252252 display_message " All unrecognized options provided shall be passed as configuration options for "
253253 display_message " all dependencies."
@@ -260,7 +260,7 @@ parse_command_line_options()
260260 for OPTION in " $@ " ; do
261261 case $OPTION in
262262 # Standard script options.
263- (--help) DISPLAY_HELP=" yes" ;;
263+ (--help|-h) DISPLAY_HELP=" yes" ;;
264264 (--verbose) DISPLAY_VERBOSE=" yes" ;;
265265
266266 # Standard build options.
0 commit comments