GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

Remove now-unused command line argument.

parent 847853dd
...@@ -120,7 +120,6 @@ func main() { ...@@ -120,7 +120,6 @@ func main() {
var cacheFile string var cacheFile string
var templatesDir string var templatesDir string
var torBinary string var torBinary string
var numSecs int
flag.StringVar(&addr, "addr", ":5000", "Address to listen on.") flag.StringVar(&addr, "addr", ":5000", "Address to listen on.")
flag.BoolVar(&web, "web", false, "Enable the web interface (in addition to the JSON API).") flag.BoolVar(&web, "web", false, "Enable the web interface (in addition to the JSON API).")
...@@ -132,7 +131,6 @@ func main() { ...@@ -132,7 +131,6 @@ func main() {
flag.StringVar(&cacheFile, "cache", "bridgestrap-cache.bin", "Cache file that contains test results.") 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(&templatesDir, "templates", "templates", "Path to directory that contains our web templates.")
flag.StringVar(&torBinary, "tor", "tor", "Path to tor executable.") 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() flag.Parse()
if showVersion { if showVersion {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment