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

@@ -16,7 +16,7 @@ func attackCmd(args []string) command {
targetsf := fs.String("targets", "targets.txt", "Targets file")
ordering := fs.String("ordering", "random", "Attack ordering [sequential, random]")
duration := fs.Duration("duration", 10*time.Second, "Duration of the test")
output := fs.String("output", "stdout", "Vegeta Results file")
output := fs.String("output", "stdout", "Vegeta data file")
fs.Parse(args)
return func() error {