aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorMarius Hanne <[email protected]>2011-01-19 22:49:12 +0100
committerMarius Hanne <[email protected]>2011-01-19 22:49:12 +0100
commit0654e1c4ef472c90fa6575af5222a5953d4cf55b (patch)
treeb710b8c43319ef82809a3dd114d4c5c5718b5494 /init.cpp
parentMerge branch 'listaccountsbug' of https://github.com/gavinandresen/bitcoin-gi... (diff)
downloaddiscoin-0654e1c4ef472c90fa6575af5222a5953d4cf55b.tar.xz
discoin-0654e1c4ef472c90fa6575af5222a5953d4cf55b.zip
include version information in help output
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 e114d8072..3260d1cc5 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") +