-help: do not show -server and -daemon in bitcoind
authortcatm <tcatm@gawab.com>
Thu, 3 Mar 2011 21:34:13 +0000 (22:34 +0100)
committertcatm <tcatm@gawab.com>
Thu, 3 Mar 2011 21:34:13 +0000 (22:34 +0100)
init.cpp

index f3ec28b..ac2721d 100644 (file)
--- 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") +