X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fuci.cpp;h=bd1432f71d8fd906247f526051aaa1975406839e;hp=2f600037d0857fb34fab51d1a05671ad41d06adc;hb=6c64f68ccf18a4ee1d4429abbef5fb4c0e216504;hpb=6ef44d4c4e1a81a55eb764438f3fc2f28429309c diff --git a/src/uci.cpp b/src/uci.cpp index 2f600037..bd1432f7 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -6,12 +6,12 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + Glaurung is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . */ @@ -107,7 +107,7 @@ namespace { // UCIInputParser object to parse this text string as a UCI command, // and calls the appropriate functions. In addition to the UCI // commands, the function also supports a few debug commands. - + void handle_command(const std::string &command) { UCIInputParser uip(command); @@ -171,8 +171,8 @@ namespace { << " material key: " << RootPosition.get_material_key() << " pawn key: " << RootPosition.get_pawn_key() << std::endl; - } - else + } + else { std::cout << "Unknown command: " << command << std::endl; while (!uip.eof())