Codechange: replace puts with fmt::print

This commit is contained in:
Rubidium
2023-05-21 08:21:40 +02:00
committed by rubidium42
parent 275ebf4509
commit 411379f587
4 changed files with 8 additions and 9 deletions

View File

@@ -456,11 +456,11 @@ int CDECL main(int argc, char *argv[])
switch (i) {
case 'v':
puts("$Revision$");
fmt::print("$Revision$\n");
return 0;
case 'h':
puts("settingsgen - $Revision$\n"
fmt::print("settingsgen - $Revision$\n"
"Usage: settingsgen [options] ini-file...\n"
"with options:\n"
" -v, --version Print version information and exit\n"