diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-10 16:02:46 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-12 16:11:56 +0200 |
commit | 45615af26fe374fa996c116984a05f0a632a0e79 (patch) | |
tree | 8d291f3ddb4b0781e47bdf63e145640bad3b5592 /src/init.h | |
parent | 97789d374c40f4f7fc8feb19c1235ca09ad2e06e (diff) |
Add 'about' information to `-version` output
Adds a copyright and attribution message to the `-version` output
(the same as shown in the About dialog in the GUI).
Move the message to a function LicenseInfo in init.cpp.
Diffstat (limited to 'src/init.h')
-rw-r--r-- | src/init.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.h b/src/init.h index 4a967bea37..52daa47616 100644 --- a/src/init.h +++ b/src/init.h @@ -28,6 +28,9 @@ enum HelpMessageMode HMM_BITCOIN_QT }; +/** Help for options shared between UI and daemon (for -help) */ std::string HelpMessage(HelpMessageMode mode); +/** Returns licensing information (for -version) */ +std::string LicenseInfo(); #endif |