version 1.4w10UCIb20
[polyglot.git] / main.cpp
index 83f1019..a4835c9 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -35,7 +35,7 @@
 // constants\r
 \r
 \r
-static const char * const Version = "1.4W10UCIb18";\r
+static const char * const Version = "1.4W10UCIb20";\r
 static const char * const HelpMessage = "\\r
 SYNTAX\n\\r
 * polyglot [configfile]\n\\r
@@ -44,7 +44,7 @@ SYNTAX\n\
 * polyglot merge-book -in1 inputfile1 -in2 inputfile2 [-out outputfile]\n\\r
 * polyglot info-book [-bin inputfile] [-exact]\n\\r
 * polyglot dumb-book [-bin inputfile] -color color [-out outputfile]\n\\r
-* polyglot [configfile] epd-test [-epd inputfile] [-min-depth depth] [-max-depth depth] [-max-time time] [-depth-delta delta]\n\\r
+* polyglot [configfile] epd-test [-epd inputfile] [-min-depth depth] [-max-depth depth] [-min-time time] [-max-time time] [-depth-delta delta]\n\\r
 * polyglot perft [-fen fen] [-max-depth depth]\\r
 ";\r
 \r
@@ -253,7 +253,7 @@ static void parse_option() {
    my_log("POLYGLOT INI file \"%s\"\n",file_name);\r
    engine_open(Engine);\r
    if(!engine_active(Engine)){\r
-       my_fatal("Could not start \"%s\"",option_get("EngineCommand"));\r
+       my_fatal("Could not start \"%s\"\n",option_get("EngineCommand"));\r
    }\r
 \r
    if (option_get_bool("UCI")) {\r
@@ -343,9 +343,11 @@ void quit() {
         \r
         stop_search();\r
         engine_send(Engine,"quit");\r
+        my_log("POLYGLOT Closing engine\n");\r
         engine_close(Engine);\r
         \r
     }\r
+    my_log("POLYGLOT Calling exit\n");\r
     exit(EXIT_SUCCESS);\r
 }\r
 \r