main: Consistently end flag descriptions with periods. (#2977)

pull/2998/head
Julius Volz 7 years ago committed by GitHub
parent c6f41ce391
commit cc50aa2c6b

@ -127,7 +127,7 @@ func main() {
a.Flag("web.enable-lifecycle", "Enable shutdown and reload via HTTP request."). a.Flag("web.enable-lifecycle", "Enable shutdown and reload via HTTP request.").
Default("false").BoolVar(&cfg.web.EnableLifecycle) Default("false").BoolVar(&cfg.web.EnableLifecycle)
a.Flag("web.enable-admin-api", "Enables API endpoints for admin control actions"). a.Flag("web.enable-admin-api", "Enables API endpoints for admin control actions.").
Default("false").BoolVar(&cfg.web.EnableAdminAPI) Default("false").BoolVar(&cfg.web.EnableAdminAPI)
a.Flag("web.console.templates", "Path to the console template directory, available at /consoles."). a.Flag("web.console.templates", "Path to the console template directory, available at /consoles.").
@ -155,7 +155,7 @@ func main() {
a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending alert manager notifications."). a.Flag("alertmanager.notification-queue-capacity", "The capacity of the queue for pending alert manager notifications.").
Default("10000").IntVar(&cfg.notifier.QueueCapacity) Default("10000").IntVar(&cfg.notifier.QueueCapacity)
a.Flag("alertmanager.timeout", "Timeout for sending alerts to Alertmanager"). a.Flag("alertmanager.timeout", "Timeout for sending alerts to Alertmanager.").
Default("10s").SetValue(&cfg.notifierTimeout) Default("10s").SetValue(&cfg.notifierTimeout)
a.Flag("query.lookback-delta", "The delta difference allowed for retrieving metrics during expression evaluations."). a.Flag("query.lookback-delta", "The delta difference allowed for retrieving metrics during expression evaluations.").

Loading…
Cancel
Save