mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-26 03:56:50 +08:00
Don't ignore unknown options, don't execute the command instead.
This commit is contained in:
@@ -443,7 +443,10 @@ namespace Stockfish::Tools
|
||||
UCI::setoption("EnableTranspositionTable", "true");
|
||||
}
|
||||
else
|
||||
cout << "ERROR: Ignoring unknown option " << token << endl;
|
||||
{
|
||||
cout << "ERROR: Unknown option " << token << ". Exiting...\n";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (!sfen_format.empty())
|
||||
|
||||
Reference in New Issue
Block a user