Changeset View
Changeset View
Standalone View
Standalone View
src/qt/utilitydialog.cpp
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | if (about) { | ||||
cursor.insertBlock(); | cursor.insertBlock(); | ||||
std::string strUsage = HelpMessage(HMM_BITCOIN_QT); | std::string strUsage = HelpMessage(HMM_BITCOIN_QT); | ||||
const bool showDebug = GetBoolArg("-help-debug", false); | const bool showDebug = GetBoolArg("-help-debug", false); | ||||
strUsage += HelpMessageGroup(tr("UI Options:").toStdString()); | strUsage += HelpMessageGroup(tr("UI Options:").toStdString()); | ||||
if (showDebug) { | if (showDebug) { | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-allowselfsignedrootcertificates", | "-allowselfsignedrootcertificates", | ||||
strprintf("Allow self signed root certificates (default: %u)", | strprintf("Allow self signed root certificates (default: %d)", | ||||
DEFAULT_SELFSIGNED_ROOTCERTS)); | DEFAULT_SELFSIGNED_ROOTCERTS)); | ||||
} | } | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-choosedatadir", | "-choosedatadir", | ||||
strprintf(tr("Choose data directory on startup (default: %u)") | strprintf(tr("Choose data directory on startup (default: %d)") | ||||
.toStdString(), | .toStdString(), | ||||
DEFAULT_CHOOSE_DATADIR)); | DEFAULT_CHOOSE_DATADIR)); | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-lang=<lang>", | "-lang=<lang>", | ||||
tr("Set language, for example \"de_DE\" (default: system locale)") | tr("Set language, for example \"de_DE\" (default: system locale)") | ||||
.toStdString()); | .toStdString()); | ||||
strUsage += HelpMessageOpt("-min", tr("Start minimized").toStdString()); | strUsage += HelpMessageOpt("-min", tr("Start minimized").toStdString()); | ||||
strUsage += HelpMessageOpt("-rootcertificates=<file>", | strUsage += HelpMessageOpt("-rootcertificates=<file>", | ||||
tr("Set SSL root certificates for payment " | tr("Set SSL root certificates for payment " | ||||
"request (default: -system-)") | "request (default: -system-)") | ||||
.toStdString()); | .toStdString()); | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-splash", | "-splash", | ||||
strprintf( | strprintf( | ||||
tr("Show splash screen on startup (default: %u)").toStdString(), | tr("Show splash screen on startup (default: %d)").toStdString(), | ||||
DEFAULT_SPLASHSCREEN)); | DEFAULT_SPLASHSCREEN)); | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-resetguisettings", | "-resetguisettings", | ||||
tr("Reset all settings changed in the GUI").toStdString()); | tr("Reset all settings changed in the GUI").toStdString()); | ||||
if (showDebug) { | if (showDebug) { | ||||
strUsage += HelpMessageOpt( | strUsage += HelpMessageOpt( | ||||
"-uiplatform", | "-uiplatform", | ||||
strprintf("Select platform to customize UI for (one of " | strprintf("Select platform to customize UI for (one of " | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |