Wed, 25 Feb 2026 22:40:43 +0100
specifying both --csv and --csv-path should not be necessary
relates to #806
| src/main.cpp | file | annotate | diff | comparison | revisions |
--- a/src/main.cpp Wed Feb 25 22:33:46 2026 +0100 +++ b/src/main.cpp Wed Feb 25 22:40:43 2026 +0100 @@ -48,7 +48,7 @@ " -a, --author <name> Only report this author\n" " (repeat option to report multiple authors)\n" " -A, --authormap <file> Apply an author mapping file\n" - " --csv Output the gathered data as CSV\n" + " --csv Output the gathered data as CSV to stdout\n" " --csv-path <file> Write CSV data to file instead of stdout\n" " -d, --depth <num> The search depth (default: 1, max: 255)\n" " -f, --fragment [indent] Output as fragment (HTML only)\n" @@ -145,6 +145,7 @@ } else if (chk_arg(argv[i], "--csv", nullptr)) { settings.csv = true; } else if (chk_arg(argv[i], "--csv-path", nullptr)) { + settings.csv = true; if (i + 1 < argc) { settings.csv_path.assign(argv[++i]); } else {