From 014c5ef176e185e9c1e783f092c5ee08752f01f4 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Tue, 13 Aug 2013 13:52:24 +0200 Subject: [PATCH] Move version to the bottom. Again, dummy commit. Just to demonstrate naive drafting with Gerrit. Change-Id: I43afaf346c61738a17be60eaa22c966545e1eccf --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index bcd9f8b519..f381b120c9 100644 --- a/main.go +++ b/main.go @@ -36,7 +36,6 @@ const deletionBatchSize = 100 // Commandline flags. var ( - printVersion = flag.Bool("version", false, "print version information") configFile = flag.String("configFile", "prometheus.conf", "Prometheus configuration file name.") metricsStoragePath = flag.String("metricsStoragePath", "/tmp/metrics", "Base path for metrics storage.") concurrentRetrievalAllowance = flag.Int("concurrentRetrievalAllowance", 15, "The number of concurrent metrics retrieval requests allowed.") @@ -66,6 +65,8 @@ var ( alertmanagerUrl = flag.String("alertmanager.url", "", "The URL of the alert manager to send notifications to.") notificationQueueCapacity = flag.Int("alertmanager.notificationQueueCapacity", 100, "The size of the queue for pending alert manager notifications.") + + printVersion = flag.Bool("version", false, "print version information") ) type prometheus struct {