diff --git a/src/main.cpp b/src/main.cpp index bf062ba..544c13d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,7 +16,7 @@ int main(int argc, char* argv[]) { bool newLines = true; set files; - for (signed int i = 0; i < argc; ++i) + for (signed int i = 1; i < argc; ++i) { const string_view currentArg (argv[i]); if ((argc == 2) && (currentArg == Argument("version"))) { cout << Yerbacon::getVersion() << endl; exit(EXIT_SUCCESS); }