commit d5f59458fe26bedb058ec292647af96f715420b2
Author: Yawning Angel <[email protected]>
Date:   Wed Sep 3 09:09:13 2014 +0000

    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")

_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to