X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=683aac6d8d07a282428a9564f57152115fc7b569;hp=bc412012d8f09d7f9e4034f909840d9f71fdd8f9;hb=f8e767388ba1f65e67fbee08ad585befddab5219;hpb=bd33766da0a00d9df69afcbf31a75d5f9972f1c8 diff --git a/src/uci.cpp b/src/uci.cpp index bc412012..683aac6d 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -77,7 +77,7 @@ bool execute_uci_command(const string& cmd) { else if (token == "uci") cout << "id name " << engine_name() - << "\nid author " << engine_author() + << "\nid author " << engine_authors() << "\n" << options_to_uci() << "\nuciok" << endl; @@ -97,7 +97,10 @@ bool execute_uci_command(const string& cmd) { pos.print(); else if (token == "eval") + { + read_evaluation_uci_options(pos.side_to_move()); cout << trace_evaluate(pos) << endl; + } else if (token == "key") cout << "key: " << hex << pos.get_key()