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

Even more help settings

Blitz through g
Clean up a setting that no longer exists for gcal
This commit is contained in:
Sean Smith
2019-07-04 11:40:53 -04:00
parent c82b6d8f94
commit 5f57edb212
6 changed files with 38 additions and 40 deletions

View File

@@ -11,7 +11,7 @@ const defaultTitle = "Git"
type Settings struct {
common *cfg.Common
commitCount int `help:"The number of past commits to display." values:"A positive integer, 0..n."`
commitCount int `help:"The number of past commits to display." values:"A positive integer, 0..n." optional:"true"`
commitFormat string `help:"The string format for the commit message." optional:"true"`
dateFormat string `help:"The string format for the date/time in the commit message." optional:"true"`
repositories []interface{} `help:"Defines which git repositories to watch." values:"A list of zero or more local file paths pointing to valid git repositories."`