cmd/telegraf: -configdirectory only includes files ending in .conf
This commit is contained in:
parent
40fd33d1b0
commit
d505be1fd4
|
@ -18,7 +18,7 @@ var fDebug = flag.Bool("debug", false,
|
||||||
var fTest = flag.Bool("test", false, "gather metrics, print them out, and exit")
|
var fTest = flag.Bool("test", false, "gather metrics, print them out, and exit")
|
||||||
var fConfig = flag.String("config", "", "configuration file to load")
|
var fConfig = flag.String("config", "", "configuration file to load")
|
||||||
var fConfigDirectory = flag.String("configdirectory", "",
|
var fConfigDirectory = flag.String("configdirectory", "",
|
||||||
"directory containing additional configuration files")
|
"directory containing additional *.conf files")
|
||||||
var fVersion = flag.Bool("version", false, "display the version")
|
var fVersion = flag.Bool("version", false, "display the version")
|
||||||
var fSampleConfig = flag.Bool("sample-config", false,
|
var fSampleConfig = flag.Bool("sample-config", false,
|
||||||
"print out full sample configuration")
|
"print out full sample configuration")
|
||||||
|
|
Loading…
Reference in New Issue