summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Budin <francois.budin@kitware.com>2017-07-19 18:13:23 (GMT)
committerBrad King <brad.king@kitware.com>2017-07-20 15:06:39 (GMT)
commit29a5cf7c42f2c229ec09ab2fb5666751b3b7e15d (patch)
tree7668544cbc93f1767a1301377dec038528f9cd99
parentce0911011eb75e244b0582b0373883b4a1954d3b (diff)
downloadCMake-29a5cf7c42f2c229ec09ab2fb5666751b3b7e15d.zip
CMake-29a5cf7c42f2c229ec09ab2fb5666751b3b7e15d.tar.gz
CMake-29a5cf7c42f2c229ec09ab2fb5666751b3b7e15d.tar.bz2
CPack: Add missing options to installer shell script help
`--version` and `--skip-license` were not in the list of available options when running script with `--help` option.
-rwxr-xr-xModules/CPack.STGZ_Header.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.STGZ_Header.sh.in b/Modules/CPack.STGZ_Header.sh.in
index c615851..70f63d2 100755
--- a/Modules/CPack.STGZ_Header.sh.in
+++ b/Modules/CPack.STGZ_Header.sh.in
@@ -7,9 +7,11 @@ cpack_usage()
Usage: $0 [options]
Options: [defaults in brackets after descriptions]
--help print this message
+ --version print cmake installer version
--prefix=dir directory in which to install
--include-subdir include the @CPACK_PACKAGE_FILE_NAME@ subdirectory
--exclude-subdir exclude the @CPACK_PACKAGE_FILE_NAME@ subdirectory
+ --skip-license accept license
EOF
exit 1
}