aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-09-28 08:03:45 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2012-09-28 08:03:45 -0700
commit842a31ad1bea930c7ae2adcea929e3b8f0febfed (patch)
treed30d28717489bde59981c62fe5b7cd1d617f932e /src/init.cpp
parent035cb4781d9463eb6db2574b18452c02c370c9a5 (diff)
parentb202d430762c1b5c9925e948f357c66040f95f10 (diff)
Merge pull request #1862 from kjj2/testports
Fix: when testnet=1 specified, change default RPC port to 18332
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 4df12af84c..7ed2613f76 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -272,7 +272,7 @@ std::string HelpMessage()
#endif
" -rpcuser=<user> " + _("Username for JSON-RPC connections") + "\n" +
" -rpcpassword=<pw> " + _("Password for JSON-RPC connections") + "\n" +
- " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 8332)") + "\n" +
+ " -rpcport=<port> " + _("Listen for JSON-RPC connections on <port> (default: 8332 or testnet: 18332)") + "\n" +
" -rpcallowip=<ip> " + _("Allow JSON-RPC connections from specified IP address") + "\n" +
" -rpcconnect=<ip> " + _("Send commands to node running on <ip> (default: 127.0.0.1)") + "\n" +
" -blocknotify=<cmd> " + _("Execute command when the best block changes (%s in cmd is replaced by block hash)") + "\n" +