aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorChris Moore <[email protected]>2011-01-21 12:09:32 -0800
committerChris Moore <[email protected]>2011-01-21 12:09:32 -0800
commit18cb92ab184d0864af3fd9ff6423536333820c3b (patch)
treea235bd682b42d40f44fe5dd73e8ff475d1da40c4 /init.cpp
parentMerge branch 'rpcssl-help' of github.com:dooglus/bitcoin into dooglus-rpcssl-... (diff)
parentinclude version information in help output (diff)
downloaddiscoin-18cb92ab184d0864af3fd9ff6423536333820c3b.tar.xz
discoin-18cb92ab184d0864af3fd9ff6423536333820c3b.zip
Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.cpp b/init.cpp
index 1d43ab7ff..92a428dd0 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") +