Better Usage func

This commit is contained in:
Tomás Senart
2013-09-11 00:31:17 +01:00
parent e61ded8e5b
commit ea5764489f
3 changed files with 27 additions and 7 deletions

View File

@@ -11,7 +11,7 @@ import (
func reportCmd(args []string) command {
fs := flag.NewFlagSet("report", flag.ExitOnError)
reporter := fs.String("reporter", "text", "Reporter [text, json, plot:timings]")
input := fs.String("input", "stdin", "Vegeta Results file")
input := fs.String("input", "stdin", "Vegeta data file")
output := fs.String("output", "stdout", "Output file")
fs.Parse(args)