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

@@ -71,7 +71,7 @@ It can also check response text.
### Example Output:
```
$ ./telegraf -config telegraf.conf -input-filter net_response -test
$ ./telegraf --config telegraf.conf --input-filter net_response --test
net_response,server=192.168.2.2,port=22,protocol=tcp response_time=0.18070360500000002,string_found=true 1454785464182527094
net_response,server=192.168.2.2,port=2222,protocol=tcp response_time=1.090124776,string_found=false 1454784433658942325