BUG: Do not display cmake -E usage when any old command line error occurs.
This commit is contained in:
parent
2e3eebc20a
commit
74c70d4078
@ -1718,7 +1718,6 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
|
|||||||
this->SetArgs(args);
|
this->SetArgs(args);
|
||||||
if(cmSystemTools::GetErrorOccuredFlag())
|
if(cmSystemTools::GetErrorOccuredFlag())
|
||||||
{
|
{
|
||||||
CMakeCommandUsage(args[0].c_str());
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user