diff --git a/README.md b/README.md index 7ec74d23..fcedb1c3 100644 --- a/README.md +++ b/README.md @@ -22,22 +22,14 @@ Gitleaks audits local and remote repos by running regex checks against all commi usage: gitleaks [options] / Options: -Modes -u --user Git user mode -r --repo Git repo mode -o --org Git organization mode -l --local Local mode, gitleaks will look for local repo in - -Logging - --log= 0: Debug, 1: Info, 3: Error + -t --temp Clone to temporary directory -v --verbose Verbose mode, will output leaks as gitleaks finds them - -Locations --report_path= Report output, default $GITLEAKS_HOME/report --clone_path= Gitleaks will clone repos here, default $GITLEAKS_HOME/clones - -Other - -t --temp Clone to temporary directory --concurrency= Upper bound on concurrent diffs --since= Commit to stop at --b64Entropy= Base64 entropy cutoff (default is 70) diff --git a/options.go b/options.go index ab426dad..4fee5dfb 100644 --- a/options.go +++ b/options.go @@ -188,8 +188,6 @@ func (opts *Options) parseOptions(args []string) error { opts.ReportPath = value } else if match, value := opts.optString(arg, "--clone-path="); match { opts.ClonePath = value - } else if match, value := opts.optInt(arg, "--log="); match { - opts.LogLevel = value } else if match, value := opts.optInt(arg, "--b64Entropy="); match { opts.B64EntropyCutoff = value } else if match, value := opts.optInt(arg, "--hexEntropy="); match {