mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-30 11:24:30 +00:00
fix: .hidden() for deprecated directory flag
Signed-off-by: Dinifarb <andreas.vogt89@bluewin.ch>
This commit is contained in:
parent
9473265ffa
commit
7530e7b400
@ -65,7 +65,7 @@ func newTextFileCollectorFlags(app *kingpin.Application) {
|
||||
textFileDirectory = app.Flag(
|
||||
FlagTextFileDirectory,
|
||||
"DEPRECATED: Use --collector.textfile.directories",
|
||||
).Default("").String()
|
||||
).Default("").Hidden().String()
|
||||
textFileDirectories = app.Flag(
|
||||
FlagTextFileDirectories,
|
||||
"Directory or Directories to read text files with metrics from.",
|
||||
|
Loading…
Reference in New Issue
Block a user