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:
@@ -896,7 +896,10 @@ namespace Stockfish::Tools
|
||||
params.ensure_quiet = 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