Use early exit for --help and --version options.

This commit is contained in:
XMRig
2019-02-15 09:11:18 +07:00
parent 9543c27351
commit 94fe139b76
12 changed files with 282 additions and 151 deletions

View File

@@ -81,12 +81,6 @@ xmrig::Controller::~Controller()
}
bool xmrig::Controller::isDone() const
{
return ConfigLoader::isDone();
}
bool xmrig::Controller::isReady() const
{
return d_ptr->config && d_ptr->network;