From d5f59458fe26bedb058ec292647af96f715420b2 Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Wed, 3 Sep 2014 09:09:13 +0000 Subject: Change the version command line arg from `-v` to `-version`. For consistency with the rest of the arguments. --- obfs4proxy/obfs4proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obfs4proxy/obfs4proxy.go b/obfs4proxy/obfs4proxy.go index d36594b..7e8aad0 100644 --- a/obfs4proxy/obfs4proxy.go +++ b/obfs4proxy/obfs4proxy.go @@ -391,7 +391,7 @@ func version() { func main() { // Handle the command line arguments. _, execName := path.Split(os.Args[0]) - showVer := flag.Bool("v", false, "Print version and exit") + showVer := flag.Bool("version", false, "Print version and exit") logLevelStr := flag.String("logLevel", "WARN", "Log level (ERROR/WARN/INFO)") flag.BoolVar(&enableLogging, "enableLogging", false, "Log to TOR_PT_STATE_LOCATION/"+obfs4proxyLogFile) flag.BoolVar(&unsafeLogging, "unsafeLogging", false, "Disable the address scrubber") -- cgit v1.2.3