kiudee/chess-tuning-tools

Raise an error for unknown UCI options

kiudee opened this issue · 1 comments

If an engine receives a UCI option, which it does not know (which can often happen if there is a type somewhere), then it usually emits an error like:

error Unknown option: ThisIsAnUnknownUCIOption

This is very likely not what the user intended and the tuner should at the very least log a warning, if not terminating immediately.

It is probably worthwhile to go over all different warnings/errors cutechess-cli outputs like:

Warning: Could not initialize player engine1: Chess protocol was not started in time