diff --git a/install-cmake.sh b/install-cmake.sh index e16de54e3..d2ad33c1b 100755 --- a/install-cmake.sh +++ b/install-cmake.sh @@ -24,7 +24,7 @@ # --disable-shared Disables shared library builds. # --disable-static Disables static library builds. # --verbose Display verbose output (defaults to quiet on called tooling). -# --help Display usage, overriding script execution. +# --help, -h Display usage, overriding script execution. # # Verified on Ubuntu 14.04, requires gcc-4.8 or newer. # Verified on OSX 10.10, using MacPorts and Homebrew repositories, requires @@ -240,7 +240,7 @@ display_help() display_message " --prefix= Library install location (defaults to /usr/local)." display_message " --disable-shared Disables shared library builds." display_message " --disable-static Disables static library builds." - display_message " --help Display usage, overriding script execution." + display_message " --help, -h Display usage, overriding script execution." display_message "" display_message "All unrecognized options provided shall be passed as configuration options for " display_message "all dependencies." @@ -253,7 +253,7 @@ parse_command_line_options() for OPTION in "$@"; do case $OPTION in # Standard script options. - (--help) DISPLAY_HELP="yes";; + (--help|-h) DISPLAY_HELP="yes";; (--verbose) DISPLAY_VERBOSE="yes";; # Standard build options. diff --git a/install-cmakepresets.sh b/install-cmakepresets.sh index 182acc884..873f45f23 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -25,7 +25,7 @@ # --disable-shared Disables shared library builds. # --disable-static Disables static library builds. # --verbose Display verbose output (defaults to quiet on called tooling). -# --help Display usage, overriding script execution. +# --help, -h Display usage, overriding script execution. # # Verified on Ubuntu 14.04, requires gcc-4.8 or newer. # Verified on OSX 10.10, using MacPorts and Homebrew repositories, requires @@ -247,7 +247,7 @@ display_help() display_message " --prefix= Library install location (defaults to /usr/local)." display_message " --disable-shared Disables shared library builds." display_message " --disable-static Disables static library builds." - display_message " --help Display usage, overriding script execution." + display_message " --help, -h Display usage, overriding script execution." display_message "" display_message "All unrecognized options provided shall be passed as configuration options for " display_message "all dependencies." @@ -260,7 +260,7 @@ parse_command_line_options() for OPTION in "$@"; do case $OPTION in # Standard script options. - (--help) DISPLAY_HELP="yes";; + (--help|-h) DISPLAY_HELP="yes";; (--verbose) DISPLAY_VERBOSE="yes";; # Standard build options. diff --git a/install.sh b/install.sh index 87ade2a80..3615a05fe 100755 --- a/install.sh +++ b/install.sh @@ -24,7 +24,7 @@ # --disable-shared Disables shared library builds. # --disable-static Disables static library builds. # --verbose Display verbose output (defaults to quiet on called tooling). -# --help Display usage, overriding script execution. +# --help, -h Display usage, overriding script execution. # # Verified on Ubuntu 14.04, requires gcc-4.8 or newer. # Verified on OSX 10.10, using MacPorts and Homebrew repositories, requires @@ -240,7 +240,7 @@ display_help() display_message " --prefix= Library install location (defaults to /usr/local)." display_message " --disable-shared Disables shared library builds." display_message " --disable-static Disables static library builds." - display_message " --help Display usage, overriding script execution." + display_message " --help, -h Display usage, overriding script execution." display_message "" display_message "All unrecognized options provided shall be passed as configuration options for " display_message "all dependencies." @@ -253,7 +253,7 @@ parse_command_line_options() for OPTION in "$@"; do case $OPTION in # Standard script options. - (--help) DISPLAY_HELP="yes";; + (--help|-h) DISPLAY_HELP="yes";; (--verbose) DISPLAY_VERBOSE="yes";; # Standard build options.