diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 1166a648e..dd0b0826e 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -145,15 +145,6 @@ int main(int argc, char** argv) { cacheDir = arg.substr(2); } - if(arg.find("-help",0) != std::string::npos || - arg.find("--help",0) != std::string::npos || - arg.find("/?",0) != std::string::npos || - arg.find("-usage",0) != std::string::npos) - { - cmake msg; - msg.Usage(args[0].c_str()); - return -1; - } } cmSystemTools::DisableRunCommandOutput();