diff options
| author | Luca Venturini <[email protected]> | 2015-03-09 00:29:59 -0700 |
|---|---|---|
| committer | Luca Venturini <[email protected]> | 2015-03-10 22:07:17 -0700 |
| commit | f75470794bd344ec25e1a540637c675e7f2ad6b0 (patch) | |
| tree | ca9e7f1fb147418585caad636358e9abf731ebbd /src/init.cpp | |
| parent | Help messages correctly formatted (79 chars) (diff) | |
| download | discoin-f75470794bd344ec25e1a540637c675e7f2ad6b0.tar.xz discoin-f75470794bd344ec25e1a540637c675e7f2ad6b0.zip | |
Fix - bitcoin-qt usage message
. Closes the bug from commit e179eb3d9bfec7e67908242c71c87b716a41c97c
("bitcoin-qt -help" did not show any message)
. Move all the options in init.cpp (there were already some
options related to bitcoin-qt)
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index eea02dc24..1e3cc1d89 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -412,6 +412,19 @@ std::string HelpMessage(HelpMessageMode mode) strUsage += HelpMessageOpt("-rpcsslprivatekeyfile=<file.pem>", strprintf(_("Server private key (default: %s)"), "server.pem")); strUsage += HelpMessageOpt("-rpcsslciphers=<ciphers>", strprintf(_("Acceptable ciphers (default: %s)"), "TLSv1.2+HIGH:TLSv1+HIGH:!SSLv2:!aNULL:!eNULL:!3DES:@STRENGTH")); + if (mode == HMM_BITCOIN_QT) + { + strUsage += HelpMessageGroup(_("UI Options:")); + if (GetBoolArg("-help-debug", false)) { + strUsage += HelpMessageOpt("-allowselfsignedrootcertificates", _("Allow self signed root certificates (default: 0)")); + } + strUsage += HelpMessageOpt("-choosedatadir", _("Choose data directory on startup (default: 0)")); + strUsage += HelpMessageOpt("-lang=<lang>", _("Set language, for example \"de_DE\" (default: system locale)")); + strUsage += HelpMessageOpt("-min", _("Start minimized")); + strUsage += HelpMessageOpt("-rootcertificates=<file>", _("Set SSL root certificates for payment request (default: -system-)")); + strUsage += HelpMessageOpt("-splash", _("Show splash screen on startup (default: 1)")); + } + return strUsage; } |