From f74de8943bc1e12a412445c021830b74ff1d32df Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Tue, 10 Nov 2015 15:45:50 -0500 Subject: [PATCH] Fix flag name in textfile.go --- collector/textfile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/textfile.go b/collector/textfile.go index 6942732d..8f226eac 100644 --- a/collector/textfile.go +++ b/collector/textfile.go @@ -54,7 +54,7 @@ func NewTextFileCollector() (Collector, error) { if c.path == "" { // This collector is enabled by default, so do not fail if // the flag is not passed. - log.Infof("No directory specified, see --textfile.directory") + log.Infof("No directory specified, see --collector.textfile.directory") } else { prometheus.SetMetricFamilyInjectionHook(c.parseTextFiles) }