From 51208ff35be98702ed9be04fec3a5243aa6d368d Mon Sep 17 00:00:00 2001 From: "David A. Wheeler" Date: Sun, 30 Jul 2017 23:23:18 -0400 Subject: [PATCH] Document the --csv option in the man page and pdf The CSV option is noted in the ChangeLog, and is explained in --help, but I forgot to add it to the man page. This fixes the man page and its corresponding generated PDF file. Signed-off-by: David A. Wheeler --- flawfinder.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/flawfinder.1 b/flawfinder.1 index 5edf27d..18e4ba4 100644 --- a/flawfinder.1 +++ b/flawfinder.1 @@ -48,6 +48,7 @@ flawfinder \- lexically find potential security flaws ("hits") in source code .\" Selecting Output Format: .RB [ \-\-context | \-c ] .RB [ \-\-columns | \-C ] +.RB [ \-\-csv ] .RB [ \-\-dataonly | \-D ] .RB [ \-\-html | \-H ] .RB [ \-\-immediate | -i ] @@ -472,6 +473,15 @@ false positives). Show context, i.e., the line having the "hit"/potential flaw. By default the line is shown immediately after the warning. +.TP +.BI \-\-csv +Generate output in comma-separated-value (CSV) format. +It will always generate a header row, followed by 0 or more data rows +(one data row for each hit). +Selecting this option automatically enables \-\-quiet and +\-\-dataonly. +This is the recommended format for sending to other tools for processing. + .TP .BI "\-\-dataonly" .TP