Merge branch 'display-version-in-help' of https://github.com/mhanne/bitcoin
[novacoin.git] / init.cpp
index 1d43ab7..92a428d 100644 (file)
--- 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") +