Remove a condition that is useless because of 29a6eb3e
This commit is contained in:
parent
80118d29a7
commit
f227182713
@ -28,7 +28,7 @@ int main(int argc, char* argv[]) {
|
|||||||
else if (currentArg == Argument("parallel")) parallel = true;
|
else if (currentArg == Argument("parallel")) parallel = true;
|
||||||
else if (currentArg == Argument("newlinesoff")) newLines = false;
|
else if (currentArg == Argument("newlinesoff")) newLines = false;
|
||||||
else if (currentArg.ends_with(".ybcon")) files.insert(currentArg);
|
else if (currentArg.ends_with(".ybcon")) files.insert(currentArg);
|
||||||
else if (i > 0) {
|
else {
|
||||||
cout << '"' << currentArg << "\" is not a valid argument." << endl;
|
cout << '"' << currentArg << "\" is not a valid argument." << endl;
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user