summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Braun-Jones <taylor@braun-jones.org>2018-01-19 20:34:38 (GMT)
committerTaylor Braun-Jones <taylor@braun-jones.org>2018-01-19 21:07:39 (GMT)
commit73bb781df05e46a93e878535996f4753b8e5e06c (patch)
treeec5438c170e76f25f8252c1539be49ebf793297f
parent927c6035745bb732712463af8e3d6619c5b6b1f4 (diff)
downloadCMake-73bb781df05e46a93e878535996f4753b8e5e06c.zip
CMake-73bb781df05e46a93e878535996f4753b8e5e06c.tar.gz
CMake-73bb781df05e46a93e878535996f4753b8e5e06c.tar.bz2
Help: Reword misleading docs for cmake -E time
-rw-r--r--Help/manual/cmake.1.rst2
-rw-r--r--Source/cmcmd.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index ff8c6c7..c2e6435 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -337,7 +337,7 @@ Available commands are:
``paxr`` (restricted pax, default), and ``zip``.
``time <command> [<args>...]``
- Run command and return elapsed time.
+ Run command and display elapsed time.
``touch <file>``
Touch a file.
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index f660f43..2c3bda2 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -103,7 +103,7 @@ void CMakeCommandUsage(const char* program)
<< " sleep <number>... - sleep for given number of seconds\n"
<< " tar [cxt][vf][zjJ] file.tar [file/dir1 file/dir2 ...]\n"
<< " - create or extract a tar or zip archive\n"
- << " time command [args...] - run command and return elapsed time\n"
+ << " time command [args...] - run command and display elapsed time\n"
<< " touch file - touch a file.\n"
<< " touch_nocreate file - touch a file but do not create it.\n"
#if defined(_WIN32) && !defined(__CYGWIN__)