Add --section-filter to usage

This commit is contained in:
Daniel Nelson 2019-04-25 20:39:29 -07:00
parent 6436005553
commit d2fbf2414a
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,9 @@ The commands & flags are:
--pprof-addr <address> pprof address to listen on, don't activate pprof if empty
--processor-filter <filter> filter the processors to enable, separator is :
--quiet run in quiet mode
--section-filter filter config sections to output, separator is :
Valid values are 'agent', 'global_tags', 'outputs',
'processors', 'aggregators' and 'inputs'
--sample-config print out full sample configuration
--test gather metrics, print them out, and exit;
processors, aggregators, and outputs are not run

View File

@ -26,6 +26,9 @@ The commands & flags are:
--processor-filter <filter> filter the processors to enable, separator is :
--quiet run in quiet mode
--sample-config print out full sample configuration
--section-filter filter config sections to output, separator is :
Valid values are 'agent', 'global_tags', 'outputs',
'processors', 'aggregators' and 'inputs'
--test gather metrics, print them out, and exit;
processors, aggregators, and outputs are not run
--usage <plugin> print usage for a plugin, ie, 'telegraf --usage mysql'