mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
forgot symlinks
This commit is contained in:
1 parent
221d5c40e7
commit
54f5f04a1f
2 files changed
+1
-5
No files matched your search
@@ -57,6 +57,7 @@ func init() {
|
||||
rootCmd.PersistentFlags().String("log-opts", "", "git log options")
|
||||
rootCmd.PersistentFlags().StringSlice("enable-rule", []string{}, "only enable specific rules by id, ex: `gitleaks detect --enable-rule=atlassian-api-token --enable-rule=slack-access-token`")
|
||||
rootCmd.PersistentFlags().StringP("gitleaks-ignore-path", "i", ".", "path to .gitleaksignore file or folder containing one")
|
||||
rootCmd.PersistentFlags().Bool("follow-symlinks", false, "scan files that are symlinks to other files")
|
||||
err := viper.BindPFlag("config", rootCmd.PersistentFlags().Lookup("config"))
|
||||
if err != nil {
|
||||
log.Fatal().Msgf("err binding config %s", err.Error())
|
||||
|
||||
Reference in new issue
Block a user