From cc50aa2c6b6290fd55dd151ab15b9bfc481ab7d8 Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Thu, 20 Jul 2017 23:48:35 +0200 Subject: [PATCH] main: Consistently end flag descriptions with periods. (#2977) --- cmd/prometheus/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go index a8db09a05..86050f824 100644 --- a/cmd/prometheus/main.go +++ b/cmd/prometheus/main.go @@ -127,7 +127,7 @@ func main() { a.Flag("web.enable-lifecycle", "Enable shutdown and reload via HTTP request."). 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) 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."). 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) a.Flag("query.lookback-delta", "The delta difference allowed for retrieving metrics during expression evaluations.").