Преглед на файлове

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 години
родител
ревизия
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]
 Usage: $0 [options]
 Options: [defaults in brackets after descriptions]
 Options: [defaults in brackets after descriptions]
   --help            print this message
   --help            print this message
+  --version         print cmake installer version
   --prefix=dir      directory in which to install
   --prefix=dir      directory in which to install
   --include-subdir  include the @CPACK_PACKAGE_FILE_NAME@ subdirectory
   --include-subdir  include the @CPACK_PACKAGE_FILE_NAME@ subdirectory
   --exclude-subdir  exclude the @CPACK_PACKAGE_FILE_NAME@ subdirectory
   --exclude-subdir  exclude the @CPACK_PACKAGE_FILE_NAME@ subdirectory
+  --skip-license    accept license
 EOF
 EOF
   exit 1
   exit 1
 }
 }