From 21c818340e783a0702071d279351081d01c88e18 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 27 Oct 2004 10:45:45 -0400 Subject: [PATCH] STYLE: Remove unused code --- Source/CursesDialog/ccmake.cxx | 9 --------- 1 file changed, 9 deletions(-) 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();