summaryrefslogtreecommitdiff
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-11-05 15:25:24 -0500
committerZach Mullen <zach.mullen@kitware.com>2009-11-05 15:25:24 -0500
commit4b795e7bca5b6dca86e2f66148e598196c9ffb33 (patch)
treef3d62eb9ba0e5f6bdfdd7d3ac8e4535ba2d3bbc2 /Source/ctest.cxx
parentdd09d880656c71421acfd73776eac92c3f3ef77a (diff)
downloadcmake-4b795e7bca5b6dca86e2f66148e598196c9ffb33.tar.gz
Doc --help-command, --help-command-list, --help-commands for ctest. (bug 9833)
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 010146d363..b0a0bd6d39 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}
};