1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fix optional help text in NewRelic settings

This commit is contained in:
Chris Cummer 2019-07-05 23:02:38 -07:00
parent 15a88c2566
commit 2b2cdf912b

View File

@ -14,7 +14,7 @@ type Settings struct {
apiKey string `help:"Your New Relic API token."`
applicationID int `help:"The integer ID of the New Relic application you wish to report on."`
deployCount int `help:"The number of past deploys to display on screen." default:"true"`
deployCount int `help:"The number of past deploys to display on screen." optional:"true"`
}
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {