summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 829d907..04804d5 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -74,6 +74,9 @@ static const cmDocumentationEntry cmDocumentationOptions[] =
"each variable."},
{"-N", "View mode only.",
"Only load the cache. Do not actually run configure and generate steps."},
+ {"-P <file>", "Process script mode.",
+ "Process the given cmake file as a script written in the CMake language. "
+ "No configure or generate step is performed and the cache is not modified."},
{"--help-command cmd [file]", "Print help for a single command and exit.",
"Full documentation specific to the given command is displayed."},
{"--help-command-list [file]", "List available listfile commands and exit.",