mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
Fix host clone auth (#350)
* trying auth fix * fixing github private user auth and donate msg * formatting * go fmt...
This commit is contained in:
1 parent
8e8873286e
commit
dae5c142d7
4 files changed
+25
-6
No files matched your search
@@ -23,6 +23,7 @@ const (
|
||||
Success = 0
|
||||
LeaksPresent = 1
|
||||
ErrorEncountered = 2
|
||||
donateMessage = "👋 maintaining gitleaks takes a lot of work so consider sponsoring me or donating a little something\n❤️ https://github.com/sponsors/zricethezav\n💸 https://www.paypal.me/zricethezav\n₿ btc:3GndEzRZa6rJ8ZpkLureUcc5TDHMYfpDxn"
|
||||
)
|
||||
|
||||
// Options stores values of command line options
|
||||
@@ -76,6 +77,7 @@ func ParseOptions() (Options, error) {
|
||||
if flagsErr, ok := err.(*flags.Error); ok && flagsErr.Type != flags.ErrHelp {
|
||||
parser.WriteHelp(os.Stdout)
|
||||
}
|
||||
fmt.Println(donateMessage)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user