Removed config option background.

This commit is contained in:
XMRig 2021-09-04 04:59:00 +07:00
parent d7a6aaadea
commit 824ba24134
No known key found for this signature in database
GPG key ID: 446A53638BE94409
8 changed files with 10 additions and 138 deletions

View file

@ -261,7 +261,6 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
doc.AddMember(StringRef(kApi), api, allocator);
doc.AddMember(StringRef(kHttp), m_http.toJSON(doc), allocator);
doc.AddMember(StringRef(kAutosave), isAutoSave(), allocator);
doc.AddMember(StringRef(kBackground), isBackground(), allocator);
doc.AddMember(StringRef(kColors), Log::isColors(), allocator);
doc.AddMember(StringRef(kTitle), title().toJSON(), allocator);

View file

@ -170,7 +170,6 @@ static const std::string &usage()
u += "\nMisc:\n";
u += " -c, --config=FILE load a JSON-format configuration file\n";
u += " -B, --background run the miner in the background\n";
u += " --dry-run test configuration and exit\n";
# ifdef XMRIG_OS_WIN