summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-11-05 20:25:24 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-11-05 20:25:24 (GMT)
commit4b795e7bca5b6dca86e2f66148e598196c9ffb33 (patch)
treef3d62eb9ba0e5f6bdfdd7d3ac8e4535ba2d3bbc2
parentdd09d880656c71421acfd73776eac92c3f3ef77a (diff)
downloadCMake-4b795e7bca5b6dca86e2f66148e598196c9ffb33.zip
CMake-4b795e7bca5b6dca86e2f66148e598196c9ffb33.tar.gz
CMake-4b795e7bca5b6dca86e2f66148e598196c9ffb33.tar.bz2
Doc --help-command, --help-command-list, --help-commands for ctest. (bug 9833)
-rw-r--r--Source/ctest.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 010146d..b0a0bd6 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -215,6 +215,13 @@ static const char * cmDocumentationOptions[][3] =
"This option allows performing the same CTest action (such as test) "
"multiple times and submit all stages to the same dashboard (Dart2 "
"required). Each execution requires different index." },
+ {"--help-command <cmd> [<file>]", "Show help for a single command and exit.",
+ "Prints the help for the command to stdout or to the specified file." },
+ {"--help-command-list [<file>]", "List available commands and exit.",
+ "Prints the list of all available listfile commands to stdout or the "
+ "specified file." },
+ {"--help-commands [<file>]", "Print help for all commands and exit.",
+ "Prints the help for all commands to stdout or to the specified file." },
{0,0,0}
};