Improved benchmark instructions

This commit is contained in:
tevador 2019-11-22 18:16:58 +01:00
parent cb299e5a25
commit 88268ae325
1 changed files with 7 additions and 1 deletions

View File

@ -160,11 +160,17 @@ int main(int argc, char** argv) {
std::cout << "RandomX benchmark v1.1.5" << std::endl;
if (help || (!miningMode && !verificationMode)) {
if (help) {
printUsage(argv[0]);
return 0;
}
if (!miningMode && !verificationMode) {
std::cout << "Please select either the fast mode (--mine) or the slow mode (--verify)" << std::endl;
std::cout << "Run '" << argv[0] << " --help' to see all supported options" << std::endl;
return 0;
}
std::atomic<uint32_t> atomicNonce(0);
AtomicHash result;
std::vector<randomx_vm*> vms;