Skip to content
Snippets Groups Projects
Commit d5f59458 authored by Yawning Angel's avatar Yawning Angel
Browse files

Change the version command line arg from `-v` to `-version`.

For consistency with the rest of the arguments.
parent 25178c6a
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment