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

@@ -252,5 +252,5 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
doc.AddMember(StringRef(kUserAgent), m_userAgent.toJSON(), allocator);
doc.AddMember(StringRef(kVerbose), Log::verbose(), allocator);
doc.AddMember(StringRef(kWatch), m_watch, allocator);
doc.AddMember(StringRef(kMineOnBattery), m_mineOnBattery, allocator);
doc.AddMember(StringRef(kPauseOnBattery), isPauseOnBattery(), allocator);
}