Remove redundant usage of endl in main.cpp

This commit is contained in:
Username404-59 2021-12-25 18:38:16 +01:00
parent fe8a14631d
commit f2322ea1bf
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ int main(int argc, char* argv[]) {
} else if (currentArg == Argument("buildInfo")) {
cout << Yerbacon::getBuildInfo();
} else goto invalid_argument;
cout << endl; exit(EXIT_SUCCESS);
cout << '\n'; exit(EXIT_SUCCESS);
} else invalid_argument: Yerbacon::exit({"\"", currentArg.data(), "\" is not a valid argument."});
}
}