diff options
Diffstat (limited to 'src/flags.go')
-rw-r--r-- | src/flags.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flags.go b/src/flags.go index c96a7d2..adda91d 100644 --- a/src/flags.go +++ b/src/flags.go @@ -20,8 +20,8 @@ var ( header string // int values - concurrent int - delay int + threads int + delay int // string values defining what request to show or hide hide Hide @@ -73,9 +73,9 @@ func registerFlags() { // Ints - concurrentUsage := "Amount of concurrent connections to use" - flag.IntVar(&concurrent, "concurrent", 1, concurrentUsage) - flag.IntVar(&concurrent, "t", 1, concurrentUsage+shortcut) + threadsUsage := "Amount of threads connections to use" + flag.IntVar(&threads, "threads", 1, threadsUsage) + flag.IntVar(&threads, "t", 1, threadsUsage+shortcut) delayUsage := "Amount of delay in between the requests" flag.IntVar(&delay, "delay", 0, delayUsage) |