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) }