Remove a condition that is useless because of 29a6eb3e

This commit is contained in:
Username404 2021-09-29 18:18:37 +02:00
parent 80118d29a7
commit f227182713
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -28,7 +28,7 @@ int main(int argc, char* argv[]) {
else if (currentArg == Argument("parallel")) parallel = true;
else if (currentArg == Argument("newlinesoff")) newLines = false;
else if (currentArg.ends_with(".ybcon")) files.insert(currentArg);
else if (i > 0) {
else {
cout << '"' << currentArg << "\" is not a valid argument." << endl;
exit(EXIT_FAILURE);
}