From 7145ca67fcc252e63b10f5a301683701f1b6a69c Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 9 Dec 2010 10:36:55 -0500 Subject: CTest: Fix ctest_sleep documentation (#11554) Document behavior consistently with the implementation. --- Source/CTest/cmCTestSleepCommand.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Source/CTest/cmCTestSleepCommand.h b/Source/CTest/cmCTestSleepCommand.h index 411eb01..468cd85 100644 --- a/Source/CTest/cmCTestSleepCommand.h +++ b/Source/CTest/cmCTestSleepCommand.h @@ -63,11 +63,10 @@ public: virtual const char* GetFullDocumentation() { return - " ctest_sleep( seconds )\n" - " ctest_sleep( time1 duration time2 )\n" - "With one argument it will sleep for a given number of seconds. " - "With three arguments it will wait for time2 - time1 - duration " - "seconds."; + " ctest_sleep()\n" + "Sleep for given number of seconds.\n" + " ctest_sleep( )\n" + "Sleep for t=(time1 + duration - time2) seconds if t > 0."; } cmTypeMacro(cmCTestSleepCommand, cmCTestCommand); -- cgit v0.12