Added command line option --pause-on-battery and renamed config option.

This commit is contained in:
XMRig
2020-07-23 15:45:01 +07:00
parent 7d65aa8ed7
commit 9829da5d4e
10 changed files with 32 additions and 25 deletions

View File

@@ -95,6 +95,7 @@ static const option options[] = {
{ "data-dir", 1, nullptr, IConfig::DataDirKey },
{ "title", 1, nullptr, IConfig::TitleKey },
{ "no-title", 0, nullptr, IConfig::NoTitleKey },
{ "pause-on-battery", 0, nullptr, IConfig::PauseOnBatteryKey },
# ifdef XMRIG_FEATURE_TLS
{ "tls", 0, nullptr, IConfig::TlsKey },
{ "tls-fingerprint", 1, nullptr, IConfig::FingerprintKey },