]> granicus.if.org Git - transmission/commitdiff
(daemon) the daemon's -p option is for the rpc port, not the peer port
authorCharles Kerr <charles@transmissionbt.com>
Tue, 22 Jul 2008 17:03:27 +0000 (17:03 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Tue, 22 Jul 2008 17:03:27 +0000 (17:03 +0000)
daemon/daemon.c

index 6376340d8a5f0d184886fa8b6aa43c56475d513e..b2e74c2c2f33486f3ba1a1601bdaca1257b059ea 100644 (file)
@@ -237,9 +237,7 @@ const struct tr_option options[] = {
     { 'B', "no-blocklist", "Disable peer blocklists",         "B", 0, NULL },
     { 'f', "foreground", "Run in the foreground instead of daemonizing", "f", 0, NULL },
     { 'g', "config-dir",   "Where to look for configuration files", "g", 1, "<path>" },
-    { 'p', "port",
-      "Port for incoming peers (Default: "TR_DEFAULT_PORT_STR")",
-      "p", 1, "<port>" },
+    { 'p', "port", "RPC port (Default: "TR_DEFAULT_RPC_PORT_STR")", "p", 1, "<port>" },
     { 't', "auth",         "Requre authentication",           "t", 0, NULL },
     { 'T', "no-auth",      "Don't require authentication",    "T", 0, NULL },
     { 'u', "username",     "Set username for authentication", "u", 1, "<username>" },