Merge pull request #164 from brunoqc/patch-1

Fix flag name in textfile.go
pull/162/head
Brian Brazil 2015-11-10 20:55:16 +00:00
commit 7eb7917eea
1 changed files with 1 additions and 1 deletions

View File

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