[Pkg-privacy-commits] [obfs4proxy] 95/151: Change the version command line arg from `-v` to `-version`.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:59:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository obfs4proxy.

commit d5f59458fe26bedb058ec292647af96f715420b2
Author: Yawning Angel <yawning at torproject.org>
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")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfs4proxy.git



More information about the Pkg-privacy-commits mailing list