removing some options

This commit is contained in:
zricethezav committed 2018-03-04 18:51:09 -06:00
1 parent b6b3e768dc
commit 078b951a43
2 files changed
+1 -11

No files matched your search

+1 -9
View File
@@ -22,22 +22,14 @@ Gitleaks audits local and remote repos by running regex checks against all commi
usage: gitleaks [options] <URL>/<path_to_repo>
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 <path>
Logging
--log=<INT> 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=<STR> Report output, default $GITLEAKS_HOME/report
--clone_path=<STR> Gitleaks will clone repos here, default $GITLEAKS_HOME/clones
Other
-t --temp Clone to temporary directory
--concurrency=<INT> Upper bound on concurrent diffs
--since=<STR> Commit to stop at
--b64Entropy=<INT> Base64 entropy cutoff (default is 70)
-2
View File
@@ -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 {