diff --git a/ricochet-cli/main.go b/ricochet-cli/main.go index 531007e..6ad4cd0 100644 --- a/ricochet-cli/main.go +++ b/ricochet-cli/main.go @@ -23,7 +23,10 @@ var ( backendServer string unsafeBackend bool backendMode bool + connectAuto bool configPath string = "identity.ricochet" + torAddress string + torPassword string ) func main() { @@ -41,6 +44,9 @@ func main() { flag.StringVar(&backendServer, "listen", "", "Listen on `
` for client frontend connections") flag.BoolVar(&unsafeBackend, "allow-unsafe-backend", false, "Allow a remote backend address. This is NOT RECOMMENDED and may harm your security or privacy. Do not use without a secure, trusted link") flag.BoolVar(&backendMode, "only-backend", false, "Run backend without any commandline UI") + flag.BoolVar(&connectAuto, "connect", true, "Start connecting to the network automatically") + flag.StringVar(&torAddress, "tor-control", "", "Use the tor control port at ``, which may be 'host:port' or 'unix:/path'") + flag.StringVar(&torPassword, "tor-control-password", "", "Use `