summaryrefslogtreecommitdiffstats
path: root/Source/ccommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-25 20:59:47 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-25 20:59:47 (GMT)
commit32fb77fff2a4a95e4f3d505e4e879c06713350d3 (patch)
treefcab0d021e5aaf0ef53727292116ea1f63a3ca8b /Source/ccommand.cxx
parent41be7a401b78f1a46ecebd2c3dbefa38569406b8 (diff)
downloadCMake-32fb77fff2a4a95e4f3d505e4e879c06713350d3.zip
CMake-32fb77fff2a4a95e4f3d505e4e879c06713350d3.tar.gz
CMake-32fb77fff2a4a95e4f3d505e4e879c06713350d3.tar.bz2
ENH: cmCopyFile ; the path to the destination file will be created ; second arg can be a directory.
Diffstat (limited to 'Source/ccommand.cxx')
-rw-r--r--Source/ccommand.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/ccommand.cxx b/Source/ccommand.cxx
index 7cc5600..9036ddd 100644
--- a/Source/ccommand.cxx
+++ b/Source/ccommand.cxx
@@ -25,9 +25,9 @@ void CMakeCommandUsage(const char* program)
errorStream << "cmake version " << cmMakefile::GetMajorVersion()
<< "." << cmMakefile::GetMinorVersion() << "\n";
errorStream << "Usage: " << program << " [command] [arguments ...]\n"
- << " Available commands: \n"
- << " copy file1 file2 - copy first file to the second one\n"
- << " remove file1 file2 ... - remove the file(s)\n";
+ << "Available commands: \n"
+ << " copy file destination - copy file to destination (either file or directory)\n"
+ << " remove file1 file2 ... - remove the file(s)\n";
errorStream << std::ends;
cmSystemTools::Error(errorStream.str());
}