diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-10 16:02:46 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-12 16:11:56 +0200 |
| commit | 45615af26fe374fa996c116984a05f0a632a0e79 (patch) | |
| tree | 8d291f3ddb4b0781e47bdf63e145640bad3b5592 /src/init.h | |
| parent | util: Add function FormatParagraph to format paragraph to fixed-width (diff) | |
| download | discoin-45615af26fe374fa996c116984a05f0a632a0e79.tar.xz discoin-45615af26fe374fa996c116984a05f0a632a0e79.zip | |
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 4a967bea3..52daa4761 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 |