diff --git a/src/main.cpp b/src/main.cpp index 544c13d..92d9d98 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); }