(daemon) the daemon's -p option is for the rpc port, not the peer port

This commit is contained in:
Charles Kerr 2008-07-22 17:03:27 +00:00
parent 95acdc3e3a
commit b7d17d7c3d
1 changed files with 1 additions and 3 deletions

View 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>" },