aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authortcatm <tcatm@gawab.com>2011-03-03 22:34:13 +0100
committertcatm <tcatm@gawab.com>2011-03-03 22:34:13 +0100
commite1205e4d15403fdbb9b8d081aa7a9c3190529262 (patch)
treed5cb78a86ca6b47d787ccb7c0a19a7514d22beed /init.cpp
parentea7cd317516a6ec911e6a29bc0407a42a2534251 (diff)
downloadbitcoin-e1205e4d15403fdbb9b8d081aa7a9c3190529262.tar.xz
-help: do not show -server and -daemon in bitcoind
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index f3ec28ba3d..ac2721db63 100644
--- a/init.cpp
+++ b/init.cpp
@@ -156,8 +156,10 @@ bool AppInit2(int argc, char* argv[])
" -connect=<ip> \t\t " + _("Connect only to the specified node\n") +
" -nolisten \t " + _("Don't accept connections from outside\n") +
" -paytxfee=<amt> \t " + _("Fee per KB to add to transactions you send\n") +
+#ifdef GUI
" -server \t\t " + _("Accept command line and JSON-RPC commands\n") +
" -daemon \t\t " + _("Run in the background as a daemon and accept commands\n") +
+#endif
" -testnet \t\t " + _("Use the test network\n") +
" -rpcuser=<user> \t " + _("Username for JSON-RPC connections\n") +
" -rpcpassword=<pw>\t " + _("Password for JSON-RPC connections\n") +