diff options
author | Brad King <brad.king@kitware.com> | 2009-02-20 20:50:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-20 20:50:57 (GMT) |
commit | ab1b9b45ff0940e37fe31380957ef970a70350bf (patch) | |
tree | ec6f6b2919005af94cf2c1ffe8f1bff88630e4ae /Source/CTest/cmCTestUpdateCommand.h | |
parent | 17dc49c0139d559043eaee20bb53b516faa6a303 (diff) | |
download | CMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.zip CMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.tar.gz CMake-ab1b9b45ff0940e37fe31380957ef970a70350bf.tar.bz2 |
ENH: Improve ctest_* command documentation
This corrects the terse documentation and adds detail to the full
documentation of some commands. It also normalizes the layout of the
documentation string endings to make adding lines easier.
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.h')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.h b/Source/CTest/cmCTestUpdateCommand.h index 117013c..6bcdd23 100644 --- a/Source/CTest/cmCTestUpdateCommand.h +++ b/Source/CTest/cmCTestUpdateCommand.h @@ -51,7 +51,7 @@ public: */ virtual const char* GetTerseDocumentation() { - return "Updates the repository."; + return "Update the work tree from version control."; } /** @@ -62,8 +62,11 @@ public: return " ctest_update([SOURCE source] [RETURN_VALUE res])\n" "Updates the given source directory and stores results in Update.xml. " - "The second argument is a variable that will hold the number of files " - "modified. If there is a problem, the variable will be -1."; + "If no SOURCE is given, the CTEST_SOURCE_DIRECTORY variable is used. " + "The RETURN_VALUE option specifies a variable in which to store the " + "result, which is -1 on error, non-negative for success, and positive " + "if there are local modifications in the work tree." + ; } cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand); |