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

WTF-42 Add help tags to FeedReader settings

This commit is contained in:
Chris Cummer 2019-07-04 05:46:13 -07:00
parent f19f1ee86d
commit 34b7ef1a60

View File

@ -14,8 +14,8 @@ const (
type Settings struct {
common *cfg.Common
feeds []string
feedLimit int
feeds []string `help:"An array of RSS and Atom feed URLs"`
feedLimit int `help:"The maximum number of stories to display for each feed"`
}
// NewSettingsFromYAML creates a new settings instance from a YAML config block