Use newline instead of endl, for fewer stream flushes

This commit is contained in:
Wilson Snyder
2023-11-24 11:45:52 -05:00
parent fae7f11222
commit 58d9a5ebac
11 changed files with 57 additions and 57 deletions
+3 -3
View File
@@ -103,16 +103,16 @@ void VlcOptions::parseOptsList(int argc, char** argv) {
void VlcOptions::showVersion(bool verbose) {
std::cout << version();
std::cout << endl;
std::cout << "\n";
if (!verbose) return;
std::cout << endl;
std::cout << "\n";
std::cout << "Copyright 2003-2023 by Wilson Snyder. Verilator is free software; you can\n";
std::cout << "redistribute it and/or modify the Verilator internals under the terms of\n";
std::cout << "either the GNU Lesser General Public License Version 3 or the Perl Artistic\n";
std::cout << "License Version 2.0.\n";
std::cout << endl;
std::cout << "\n";
std::cout << "See https://verilator.org for documentation\n";
}