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:
parent
15a88c2566
commit
2b2cdf912b
@ -14,7 +14,7 @@ type Settings struct {
|
|||||||
|
|
||||||
apiKey string `help:"Your New Relic API token."`
|
apiKey string `help:"Your New Relic API token."`
|
||||||
applicationID int `help:"The integer ID of the New Relic application you wish to report on."`
|
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 {
|
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user