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

@@ -9,8 +9,8 @@ import (
type colors struct {
rows struct {
even string
odd string
even string `help:"Define the foreground color for even-numbered rows." values:"Any X11 color name." optional:"true"`
odd string `help:"Define the foreground color for odd-numbered rows." values:"Any X11 color name." optional:"true"`
}
}
@@ -20,11 +20,11 @@ type Settings struct {
colors
common *cfg.Common
domain string
password string
projects []interface{}
username string
verifyServerCertificate bool
domain string `help:"Your Gerrit corporate domain."`
password string `help:"Your Gerrit HTTP Password."`
projects []interface{} `help:"A list of Gerrit project names to fetch data for."`
username string `help:"Your Gerrit username."`
verifyServerCertificate bool `help:"Determines whether or not the servers certificate chain and host name are verified." values:"true or false" optional:"true"`
}
func NewSettingsFromYAML(name string, ymlConfig *config.Config, globalConfig *config.Config) *Settings {