summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-17 14:44:09 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-17 14:44:09 (GMT)
commita4429ad30a069f61c4630b54e44c3e1d747f9d41 (patch)
treea96af73c3673daffcad588e63ff144e28c29b575 /Source/cmake.cxx
parent95a8331edb4ba7b53abd796066165b29f70ff258 (diff)
downloadCMake-a4429ad30a069f61c4630b54e44c3e1d747f9d41.zip
CMake-a4429ad30a069f61c4630b54e44c3e1d747f9d41.tar.gz
CMake-a4429ad30a069f61c4630b54e44c3e1d747f9d41.tar.bz2
STYLE: fix line lengths and add "remove -f" to the docs
Alex
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx44
1 files changed, 23 insertions, 21 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 3518067..e90311e 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -852,30 +852,32 @@ void CMakeCommandUsage(const char* program)
errorStream
<< "Usage: " << program << " -E [command] [arguments ...]\n"
<< "Available commands: \n"
- << " chdir dir cmd [args]... - run command in a given directory\n"
- << " copy file destination - copy file to destination (either file or "
- "directory)\n"
- << " copy_if_different in-file out-file - copy file if input has "
- "changed\n"
- << " copy_directory source destination - copy directory 'source' "
- "content to directory 'destination'\n"
+ << " chdir dir cmd [args]... - run command in a given directory\n"
+ << " copy file destination - copy file to destination (either file "
+ "or directory)\n"
+ << " copy_if_different in-file out-file - copy file if input has "
+ "changed\n"
+ << " copy_directory source destination - copy directory 'source' "
+ "content to directory 'destination'\n"
<< " compare_files file1 file2 - check if file1 is same as file2\n"
- << " echo [string]... - displays arguments as text\n"
- << " echo_append [string]... - displays arguments as text but no new"
- " line\n"
- << " environment - display the current enviroment\n"
- << " make_directory dir - create a directory\n"
- << " md5sum file1 [...] - compute md5sum of files\n"
- << " remove_directory dir - remove a directory and its contents\n"
- << " remove file1 file2 ... - remove the file(s)\n"
- << " tar [cxt][vfz] file.tar file/dir1 file/dir2 ... - create a tar.\n"
- << " time command [args] ... - run command and return elapsed time\n"
+ << " echo [string]... - displays arguments as text\n"
+ << " echo_append [string]... - displays arguments as text but no new "
+ "line\n"
+ << " environment - display the current enviroment\n"
+ << " make_directory dir - create a directory\n"
+ << " md5sum file1 [...] - compute md5sum of files\n"
+ << " remove_directory dir - remove a directory and its contents\n"
+ << " remove [-f] file1 file2 ... - remove the file(s), use -f to force "
+ "it\n"
+ << " tar [cxt][vfz] file.tar file/dir1 file/dir2 ... - create a tar "
+ "archive\n"
+ << " time command [args] ... - run command and return elapsed time\n"
#if defined(_WIN32) && !defined(__CYGWIN__)
- << " write_regv key value - write registry value\n"
- << " delete_regv key - delete registry value\n"
- << " comspec - on windows 9x use this for RunCommand\n"
+ << " write_regv key value - write registry value\n"
+ << " delete_regv key - delete registry value\n"
+ << " comspec - on windows 9x use this for RunCommand\n"
#else
- << " create_symlink old new - create a symbolic link new -> old\n"
+ << " create_symlink old new - create a symbolic link new -> old\n"
#endif
;