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
@@ -58,7 +58,7 @@ None
|
||||
### Example Output:
|
||||
|
||||
```
|
||||
$ telegraf -config ~/ws/telegraf.conf -input-filter kernel -test
|
||||
$ telegraf --config ~/ws/telegraf.conf --input-filter kernel --test
|
||||
* Plugin: kernel, Collection 1
|
||||
> kernel boot_time=1457505775i,context_switches=2626618i,disk_pages_in=5741i,disk_pages_out=1808i,interrupts=1472736i,processes_forked=10673i 1457613402960879816
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user