Просмотр исходного кода

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.
Francois Budin 8 лет назад
Родитель
Сommit
29a5cf7c42
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      Modules/CPack.STGZ_Header.sh.in

+ 2 - 0
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
 }