Fix rules argument (#71)

This commit is contained in:
Sandro
2019-09-20 17:28:11 +02:00
committed by Thom Seddon
parent 3e6ccc8f45
commit 5a676f3068
2 changed files with 3 additions and 3 deletions

View File

@ -38,7 +38,7 @@ type Config struct {
Whitelist CommaSeparatedList `long:"whitelist" env:"WHITELIST" description:"Only allow given email addresses, can be set multiple times"`
Providers provider.Providers `group:"providers" namespace:"providers" env-namespace:"PROVIDERS"`
Rules map[string]*Rule `long:"rules.<name>.<param>" description:"Rule definitions, param can be: \"action\" or \"rule\""`
Rules map[string]*Rule `long:"rule.<name>.<param>" description:"Rule definitions, param can be: \"action\" or \"rule\""`
// Filled during transformations
Secret []byte `json:"-"`