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:
parent
f19f1ee86d
commit
34b7ef1a60
@ -14,8 +14,8 @@ const (
|
|||||||
type Settings struct {
|
type Settings struct {
|
||||||
common *cfg.Common
|
common *cfg.Common
|
||||||
|
|
||||||
feeds []string
|
feeds []string `help:"An array of RSS and Atom feed URLs"`
|
||||||
feedLimit int
|
feedLimit int `help:"The maximum number of stories to display for each feed"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewSettingsFromYAML creates a new settings instance from a YAML config block
|
// NewSettingsFromYAML creates a new settings instance from a YAML config block
|
||||||
|
Loading…
x
Reference in New Issue
Block a user