diff --git a/include/argparse/argparse.hpp b/include/argparse/argparse.hpp index 4cb17b80..fb4f25a5 100644 --- a/include/argparse/argparse.hpp +++ b/include/argparse/argparse.hpp @@ -867,7 +867,7 @@ class ArgumentParser { if ((add_args & default_arguments::version) == default_arguments::version) { add_argument("-v", "--version") .action([&](const auto &unused) { - std::cout << m_version; + std::cout << m_version << std::endl; std::exit(0); }) .default_value(false)