mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
Consistency in options
This commit is contained in:
1 parent
bdcb9e33a8
commit
78f2c46517
1 file changed
+2
-2
+2
-2
@@ -39,8 +39,8 @@ type Options struct {
|
|||||||
Debug bool `long:"debug" description:"Log debug messages"`
|
Debug bool `long:"debug" description:"Log debug messages"`
|
||||||
NoGit bool `long:"no-git" description:"Treat git repos as plain directories and scan those files"`
|
NoGit bool `long:"no-git" description:"Treat git repos as plain directories and scan those files"`
|
||||||
CodeOnLeak int `long:"leaks-exit-code" default:"1" description:"Exit code when leaks have been encountered"`
|
CodeOnLeak int `long:"leaks-exit-code" default:"1" description:"Exit code when leaks have been encountered"`
|
||||||
AppendRepoConfig bool `long:"append-repo-config" description:"append the provided or default config with the repo config."`
|
AppendRepoConfig bool `long:"append-repo-config" description:"Append the provided or default config with the repo config."`
|
||||||
AdditionalConfig string `long:"additional-config" description:"path to an additional gitleaks config to append with an existing config. Can be used with --append-repo-config to append up to three configurations"`
|
AdditionalConfig string `long:"additional-config" description:"Path to an additional gitleaks config to append with an existing config. Can be used with --append-repo-config to append up to three configurations"`
|
||||||
|
|
||||||
// Report Options
|
// Report Options
|
||||||
Report string `short:"o" long:"report" description:"Report output path"`
|
Report string `short:"o" long:"report" description:"Report output path"`
|
||||||
|
|||||||
Reference in new issue
Block a user