summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-09-07 19:39:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-09-07 19:39:21 (GMT)
commit4e3d428cc30a6a45477720c8153b4f32952ae949 (patch)
treeafd77a2eba7ad2d19b7f485b003836a8ad3a5c3c
parentfde0a4ddd104be279600f3a80521169708a84875 (diff)
parent96d106a78d1dc634cc635678afa399f1f5e15ff3 (diff)
downloadCMake-4e3d428cc30a6a45477720c8153b4f32952ae949.zip
CMake-4e3d428cc30a6a45477720c8153b4f32952ae949.tar.gz
CMake-4e3d428cc30a6a45477720c8153b4f32952ae949.tar.bz2
Merge topic 'fix-12446-no-cmake-E-build'
96d106a CMake: Remove documentation for -E build (#12446)
-rw-r--r--Source/cmake.cxx1
-rw-r--r--Source/cmakemain.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 86fd069..41c67e2 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1112,7 +1112,6 @@ void CMakeCommandUsage(const char* program)
errorStream
<< "Usage: " << program << " -E [command] [arguments ...]\n"
<< "Available commands: \n"
- << " build build_dir - build the project in build_dir.\n"
<< " chdir dir cmd [args]... - run command in a given directory\n"
<< " compare_files file1 file2 - check if file1 is same as file2\n"
<< " copy file destination - copy file to destination (either file "
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 9f213a5..436236d 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -72,7 +72,7 @@ static const char * cmDocumentationOptions[][3] =
{"-E", "CMake command mode.",
"For true platform independence, CMake provides a list of commands "
"that can be used on all systems. Run with -E help for the usage "
- "information. Commands available are: build, chdir, compare_files, copy, "
+ "information. Commands available are: chdir, compare_files, copy, "
"copy_directory, copy_if_different, echo, echo_append, environment, "
"make_directory, md5sum, remove, remove_directory, rename, tar, time, "
"touch, touch_nocreate. In addition, some platform specific commands "