Browse Source

init: add better formating for some command-line options

0.10
Philip Kaufmann 11 years ago
parent
commit
3c955993a4
  1. 8
      src/init.cpp

8
src/init.cpp

@ -226,8 +226,8 @@ std::string HelpMessage(HelpMessageMode hmm) @@ -226,8 +226,8 @@ std::string HelpMessage(HelpMessageMode hmm)
#endif
#endif
strUsage += " -debug=<category> " + _("Output debugging information (default: 0, supplying <category> is optional)") + "\n";
strUsage += _("If <category> is not supplied, output all debugging information.") + "\n";
strUsage += _("<category> can be:");
strUsage += " " + _("If <category> is not supplied, output all debugging information.") + "\n";
strUsage += " " + _("<category> can be:");
strUsage += " addrman, alert, coindb, db, lock, rand, rpc, selectcoins, mempool, net"; // Don't translate these and qt below
if (hmm == HMM_BITCOIN_QT)
{
@ -240,8 +240,8 @@ std::string HelpMessage(HelpMessageMode hmm) @@ -240,8 +240,8 @@ std::string HelpMessage(HelpMessageMode hmm)
strUsage += " -logtimestamps " + _("Prepend debug output with timestamp (default: 1)") + "\n";
strUsage += " -shrinkdebugfile " + _("Shrink debug.log file on client startup (default: 1 when no -debug)") + "\n";
strUsage += " -printtoconsole " + _("Send trace/debug info to console instead of debug.log file") + "\n";
strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be "
"solved instantly. This is intended for regression testing tools and app development.") + "\n";
strUsage += " -regtest " + _("Enter regression test mode, which uses a special chain in which blocks can be solved instantly.") + "\n";
strUsage += " " + _("This is intended for regression testing tools and app development.") + "\n";
if (hmm == HMM_BITCOIN_QT)
{
strUsage += " -server " + _("Accept command line and JSON-RPC commands") + "\n";

Loading…
Cancel
Save