From 677265461b3c596ab2a88858e74b0970196198fe Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 8 Sep 2025 23:09:21 +0200 Subject: Make clang-tidy happy --- src/main.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 9abed21..27b4854 100644 --- a/src/main.cc +++ b/src/main.cc @@ -13,7 +13,7 @@ int main(int argc, char** argv) { auto opt_version = args->option('V', "version", "display version and exit."); if (!args->run(argc, argv)) { args->print_error(std::cerr); - std::cerr << "Try 'jkc --help' for more information." << std::endl; + std::cerr << "Try 'jkc --help' for more information.\n"; return 1; } if (opt_help->is_set()) { @@ -21,12 +21,11 @@ int main(int argc, char** argv) { << "Java and Kotlin Compiler\n" << "\n"; args->print_help(std::cout); - std::cout << std::flush; return 0; } if (opt_version->is_set()) { std::cout << "jkc " << VERSION - << " written by Joel Klinghed ." << std::endl; + << " written by Joel Klinghed .\n"; return 0; } return 0; -- cgit v1.3