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:
Zack Zatkin-Gold
2017-05-12 15:22:29 -07:00
committed by Daniel Nelson
parent f74687dcc0
commit dd537b3382
43 changed files with 46 additions and 46 deletions

View File

@@ -78,7 +78,7 @@ pkts bytes target prot opt in out source destination
```
```
$ ./telegraf -config telegraf.conf -input-filter iptables -test
$ ./telegraf --config telegraf.conf --input-filter iptables --test
iptables,table=filter,chain=INPUT,ruleid=ssh pkts=100i,bytes=1024i 1453831884664956455
iptables,table=filter,chain=INPUT,ruleid=httpd pkts=42i,bytes=2048i 1453831884664956455
```