aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Moore <dooglus@gmail.com>2011-01-21 12:09:32 -0800
committerChris Moore <dooglus@gmail.com>2011-01-21 12:09:32 -0800
commit18cb92ab184d0864af3fd9ff6423536333820c3b (patch)
treea235bd682b42d40f44fe5dd73e8ff475d1da40c4
parent86c0af514b59971f7a5c3876898165667cbbeb6b (diff)
parent0654e1c4ef472c90fa6575af5222a5953d4cf55b (diff)
downloadbitcoin-18cb92ab184d0864af3fd9ff6423536333820c3b.tar.xz
Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin
-rw-r--r--init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index 1d43ab7ffd..92a428dd00 100644
--- a/init.cpp
+++ b/init.cpp
@@ -159,6 +159,7 @@ bool AppInit2(int argc, char* argv[])
if (mapArgs.count("-?") || mapArgs.count("--help"))
{
string strUsage = string() +
+ "bitcoin version " + FormatVersion(VERSION).c_str() + " beta\n" +
_("Usage:") + "\t\t\t\t\t\t\t\t\t\t\n" +
" bitcoin [options] \t " + "\n" +
" bitcoin [options] <command> [params]\t " + _("Send command to -server or bitcoind\n") +