# HG changeset patch # User Mike Becker # Date 1772055643 -3600 # Node ID cd8ad39dda760218cd6569ffec1cf4dfaba2a2c3 # Parent 5177d8af55362feafb1c40cd0706615b9a4e4229 specifying both --csv and --csv-path should not be necessary relates to #806 diff -r 5177d8af5536 -r cd8ad39dda76 src/main.cpp --- 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 Only report this author\n" " (repeat option to report multiple authors)\n" " -A, --authormap 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 Write CSV data to file instead of stdout\n" " -d, --depth 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 {