diff --git a/install-cmake.sh b/install-cmake.sh index 99dc97c..6a1fd80 100755 --- a/install-cmake.sh +++ b/install-cmake.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-cmakepresets.sh b/install-cmakepresets.sh index 02214f3..96c6783 100755 --- a/install-cmakepresets.sh +++ b/install-cmakepresets.sh @@ -26,7 +26,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 @@ -254,7 +254,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." @@ -267,7 +267,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 847e849..36ed087 100755 --- a/install.sh +++ b/install.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.