diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-27 14:45:45 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-27 14:45:45 (GMT) |
commit | 21c818340e783a0702071d279351081d01c88e18 (patch) | |
tree | c910cc116b67153d1fa386197a84f919e466742d /Source/CursesDialog | |
parent | 8e0985f9f1785fc8fdc7c6c35bb215bf2070804d (diff) | |
download | CMake-21c818340e783a0702071d279351081d01c88e18.zip CMake-21c818340e783a0702071d279351081d01c88e18.tar.gz CMake-21c818340e783a0702071d279351081d01c88e18.tar.bz2 |
STYLE: Remove unused code
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 1166a64..dd0b082 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(); |