aboutsummaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorMarius Hanne <marius.hanne@sourceagency.org>2011-01-19 22:49:12 +0100
committerMarius Hanne <marius.hanne@sourceagency.org>2011-01-19 22:49:12 +0100
commit0654e1c4ef472c90fa6575af5222a5953d4cf55b (patch)
treeb710b8c43319ef82809a3dd114d4c5c5718b5494 /init.cpp
parentb4671902f2c5aa1c95be547a61b0a72b8a3025de (diff)
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 e114d80727..3260d1cc54 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") +