From 933d62343639c243f02f5feb30a7c66bee41c969 Mon Sep 17 00:00:00 2001 From: Philipp Winter Date: Wed, 18 Nov 2020 21:23:26 -0800 Subject: [PATCH] Remove now-unused command line argument. --- main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.go b/main.go index 9467bb8..5c114e5 100644 --- a/main.go +++ b/main.go @@ -120,7 +120,6 @@ func main() { var cacheFile string var templatesDir string var torBinary string - var numSecs int flag.StringVar(&addr, "addr", ":5000", "Address to listen on.") flag.BoolVar(&web, "web", false, "Enable the web interface (in addition to the JSON API).") @@ -132,7 +131,6 @@ func main() { flag.StringVar(&cacheFile, "cache", "bridgestrap-cache.bin", "Cache file that contains test results.") flag.StringVar(&templatesDir, "templates", "templates", "Path to directory that contains our web templates.") flag.StringVar(&torBinary, "tor", "tor", "Path to tor executable.") - flag.IntVar(&numSecs, "seconds", 0, "Number of seconds after two subsequent requests are handled.") flag.Parse() if showVersion { -- GitLab