Fix telegraf example arguments (#2788)
Many of the examples provided within documentation are using a single dash for the command line arguments, but the telegraf executable explicitly has two dashes. There are also some inconsistencies with the ordering of the command line argument examples. I've ordered them so that the examples will show: config, config-directory, input-filter, test
This commit is contained in:
committed by
Daniel Nelson
parent
f74687dcc0
commit
dd537b3382
@@ -333,7 +333,7 @@ the following values:
|
||||
### Example Output:
|
||||
|
||||
```
|
||||
telegraf -test -config etc/telegraf.conf -input-filter varnish
|
||||
telegraf --config etc/telegraf.conf --input-filter varnish --test
|
||||
* Plugin: varnish, Collection 1
|
||||
> varnish,host=rpercy-VirtualBox,section=MAIN cache_hit=0i,cache_miss=0i,uptime=8416i 1462765437090957980
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user