From 0654e1c4ef472c90fa6575af5222a5953d4cf55b Mon Sep 17 00:00:00 2001 From: Marius Hanne Date: Wed, 19 Jan 2011 22:49:12 +0100 Subject: [PATCH] include version information in help output --- init.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/init.cpp b/init.cpp index e114d807..3260d1cc 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] [params]\t " + _("Send command to -server or bitcoind\n") +