Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin

This commit is contained in:
Chris Moore 2011-01-21 12:09:32 -08:00
commit 18cb92ab18

View File

@ -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") +