mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
gofmt
This commit is contained in:
1 parent
9122aa6cf4
commit
660350c9b1
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -45,7 +45,7 @@ type Options struct {
|
||||
Entropy float64 `long:"entropy" short:"e" description:"Include entropy checks during audit. Entropy scale: 0.0(no entropy) - 8.0(max entropy)"`
|
||||
NoiseReduction bool `long:"noise-reduction" description:"Reduce the number of finds when entropy checks are enabled"`
|
||||
RepoConfig bool `long:"repo-config" description:"Load config from target repo. Config file must be \".gitleaks.toml\""`
|
||||
Branch string `long:"branch" description:"Branch to audit"`
|
||||
Branch string `long:"branch" description:"Branch to audit"`
|
||||
// TODO: IncludeMessages string `long:"messages" description:"include commit messages in audit"`
|
||||
|
||||
// Output options
|
||||
@@ -58,7 +58,7 @@ type Options struct {
|
||||
}
|
||||
|
||||
// ParseOpts parses the options
|
||||
func ParseOpts() (*Options) {
|
||||
func ParseOpts() *Options {
|
||||
var opts Options
|
||||
parser := flags.NewParser(&opts, flags.Default)
|
||||
_, err := parser.Parse()
|
||||
|
||||
Reference in new issue
Block a user