Skip to content

Commit 50493db

Browse files
authored
feat: document stdout report path (#1990)
1 parent ed65b65 commit 50493db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func init() {
7474
cobra.OnInitialize(initLog)
7575
rootCmd.PersistentFlags().StringP("config", "c", "", configDescription)
7676
rootCmd.PersistentFlags().Int("exit-code", 1, "exit code when leaks have been encountered")
77-
rootCmd.PersistentFlags().StringP("report-path", "r", "", "report file")
77+
rootCmd.PersistentFlags().StringP("report-path", "r", "", "report file (use \"-\" for stdout)")
7878
rootCmd.PersistentFlags().StringP("report-format", "f", "", "output format (json, csv, junit, sarif, template)")
7979
rootCmd.PersistentFlags().StringP("report-template", "", "", "template file used to generate the report (implies --report-format=template)")
8080
rootCmd.PersistentFlags().StringP("baseline-path", "b", "", "path to baseline with issues that can be ignored")

0 commit comments

Comments
 (0)