|
|
@@ -47,6 +47,7 @@ func init() {
|
|
|
rootCmd.PersistentFlags().BoolP("verbose", "v", false, "show verbose output from scan")
|
|
|
rootCmd.PersistentFlags().BoolP("no-color", "", false, "turn off color for verbose output")
|
|
|
rootCmd.PersistentFlags().Int("max-target-megabytes", 0, "files larger than this will be skipped")
|
|
|
+ rootCmd.PersistentFlags().BoolP("ignore-gitleaks-allow", "", false, "ignore gitleaks:allow comments")
|
|
|
rootCmd.PersistentFlags().Uint("redact", 0, "redact secrets from logs and stdout. To redact only parts of the secret just apply a percent value from 0..100. For example --redact=20 (default 100%)")
|
|
|
rootCmd.Flag("redact").NoOptDefVal = "100"
|
|
|
rootCmd.PersistentFlags().Bool("no-banner", false, "suppress banner")
|