summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-24 15:47:21 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-24 15:47:21 (GMT)
commitad92f34fea4c565a3f6698c5bc620797be9c64fe (patch)
tree6e4c0228c3c668722db9c338305ddc033c721f8d /Source/cmake.cxx
parent4d036f44f5fd4cee2859b7a4bdf59411cd0c0124 (diff)
downloadCMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.zip
CMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.tar.gz
CMake-ad92f34fea4c565a3f6698c5bc620797be9c64fe.tar.bz2
added version number
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 00bbfdb..0168719 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -61,13 +61,9 @@ int main(int ac, char** av)
void cmake::Usage(const char* program)
{
- std::cerr << "Usage: " << program << " srcdir "
- << "-Ssource_start_directory "
- << "-Ooutput_start_directory "
- << "-Hsource_home_directory "
- << "-Boutput_home_directory\n"
- << "Where start directories are the current place in the tree,"
- "and the home directories are the top.\n";
+ std::cerr << "cmake version " << cmMakefile::GetVersion() << "\n";
+ std::cerr << "Usage: " << program << " srcdir \n"
+ << "Where cmake is run from the directory where you want the object files written\n";
}
// Parse the args