updating readme and options

This commit is contained in:
zricethezav committed 2018-02-19 19:00:30 -06:00
1 parent bc26e979c5
commit c0bf19fc44
2 files changed
+10 -6

No files matched your search

+4
View File
@@ -33,11 +33,15 @@ Gitleaks scans all lines of all commits and checks if there are any regular expr
```
usage: gitleaks [options] [git url]
Options:
-c Concurrency factor (potential number of git files open)
-u Git user url
-r Git repo url
-o Git organization url
-s Strict mode uses stopwords in checks.go
-e Base64 entropy cutoff, default is 70
-x Hex entropy cutoff, default is 40
-h --help Display this message
```
+6 -6
View File
@@ -13,6 +13,12 @@ const usage = `usage: gitleaks [git link] [options]
Options:
-c Concurrency factor (potential number of git files open)
-u Git user url
-r Git repo url
-o Git organization url
-s Strict mode uses stopwords in checks.go
-e Base64 entropy cutoff, default is 70
-x Hex entropy cutoff, default is 40
-h --help Display this message
`
@@ -69,12 +75,6 @@ func parseOptions(args []string) *Options {
HexEntropyCutoff: 40,
}
// default is repo if no additional options
if len(args) == 1 {
opts.RepoURL = args[0]
return opts
}
for i := 0; i < len(args); i++ {
arg := args[i]
switch arg {