Remove redundant usage of endl in main.cpp
This commit is contained in:
parent
fe8a14631d
commit
f2322ea1bf
|
@ -42,7 +42,7 @@ int main(int argc, char* argv[]) {
|
||||||
} else if (currentArg == Argument("buildInfo")) {
|
} else if (currentArg == Argument("buildInfo")) {
|
||||||
cout << Yerbacon::getBuildInfo();
|
cout << Yerbacon::getBuildInfo();
|
||||||
} else goto invalid_argument;
|
} 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."});
|
} else invalid_argument: Yerbacon::exit({"\"", currentArg.data(), "\" is not a valid argument."});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue