Use early exit for --help and --version options.
This commit is contained in:
parent
14e7c82512
commit
70d6e0e62c
12 changed files with 282 additions and 151 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue