From a6ccee210537232664b3cf98e7600909d7076e8d Mon Sep 17 00:00:00 2001 From: Emile Date: Fri, 1 Nov 2019 18:56:19 +0100 Subject: simple working basic setup --- src/flags.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/flags.go') 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) -- cgit 1.4.1