Browse Source

include version information in help output

0.8
Marius Hanne 14 years ago
parent
commit
0654e1c4ef
  1. 1
      init.cpp

1
init.cpp

@ -159,6 +159,7 @@ bool AppInit2(int argc, char* argv[])
if (mapArgs.count("-?") || mapArgs.count("--help")) if (mapArgs.count("-?") || mapArgs.count("--help"))
{ {
string strUsage = string() + string strUsage = string() +
"bitcoin version " + FormatVersion(VERSION).c_str() + " beta\n" +
_("Usage:") + "\t\t\t\t\t\t\t\t\t\t\n" + _("Usage:") + "\t\t\t\t\t\t\t\t\t\t\n" +
" bitcoin [options] \t " + "\n" + " bitcoin [options] \t " + "\n" +
" bitcoin [options] <command> [params]\t " + _("Send command to -server or bitcoind\n") + " bitcoin [options] <command> [params]\t " + _("Send command to -server or bitcoind\n") +

Loading…
Cancel
Save