Browse Source

BUG: Do not display cmake -E usage when any old command line error occurs.

Brad King 19 years ago
parent
commit
74c70d4078
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/cmake.cxx

+ 0 - 1
Source/cmake.cxx

@@ -1718,7 +1718,6 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
   this->SetArgs(args);
   if(cmSystemTools::GetErrorOccuredFlag())
     {
-    CMakeCommandUsage(args[0].c_str());
     return -1;
     }