Cleanup
This commit is contained in:
parent
17b0a74046
commit
5a0641ac3b
|
@ -63,7 +63,6 @@ int main(int argc, char** argv)
|
||||||
bool debug = false;
|
bool debug = false;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int j;
|
int j;
|
||||||
cmake msg;
|
|
||||||
std::vector<std::string> args;
|
std::vector<std::string> args;
|
||||||
for(j =0; j < argc; ++j)
|
for(j =0; j < argc; ++j)
|
||||||
{
|
{
|
||||||
|
@ -90,6 +89,7 @@ int main(int argc, char** argv)
|
||||||
arg.find("/?",0) != std::string::npos ||
|
arg.find("/?",0) != std::string::npos ||
|
||||||
arg.find("-usage",0) != std::string::npos)
|
arg.find("-usage",0) != std::string::npos)
|
||||||
{
|
{
|
||||||
|
cmake msg;
|
||||||
msg.Usage(args[0].c_str());
|
msg.Usage(args[0].c_str());
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue