Commit 91cdb87b authored by anonym's avatar anonym

tor-controlport-filter: remove short options.

They're handy for frequently typed commands, they are more cryptic which
is something we don't want to encourage.
parent bd5d9567
......@@ -426,22 +426,22 @@ class FilteredControlPortProxy(socketserver.ThreadingTCPServer):
def main():
parser = argparse.ArgumentParser()
parser.add_argument(
"-a", "--listen-address",
"--listen-address",
type=str, metavar='ADDR', default=DEFAULT_LISTEN_ADDRESS,
help="specifies the address on which the server listens " +
"(default: {})".format(DEFAULT_LISTEN_ADDRESS))
parser.add_argument(
"-p", "--listen-port",
"--listen-port",
type=int, metavar='PORT', default=DEFAULT_LISTEN_PORT,
help="specifies the port on which the server listens " +
"(default: {})".format(DEFAULT_LISTEN_PORT))
parser.add_argument(
"-c", "--control-cookie-path",
"--control-cookie-path",
type=str, metavar='PATH', default=DEFAULT_COOKIE_PATH,
help="specifies the path to Tor's control authentication cookie " +
"(default: {})".format(DEFAULT_COOKIE_PATH))
parser.add_argument(
"-s", "--control-socket-path",
"--control-socket-path",
type=str, metavar='PATH', default=DEFAULT_CONTROL_SOCKET_PATH,
help="specifies the path to Tor's control socket " +
"(default: {})".format(DEFAULT_CONTROL_SOCKET_PATH))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment