- else // Process command line arguments
- {
- if (string(argv[1]) != "bench" || argc > 7)
- cout << "Usage: stockfish bench [hash size = 128] [threads = 1] "
- << "[limit = 12] [fen positions file = default] "
- << "[depth, time, perft or node limited = depth]" << endl;
- else
- benchmark(argc, argv);
- }
-
- exit_threads();
- quit_eval();
+ else if (string(argv[1]) == "bench" && argc < 8)
+ benchmark(argc, argv);
+ else
+ cout << "Usage: stockfish bench [hash size = 128] [threads = 1] "
+ << "[limit = 12] [fen positions file = default] "
+ << "[limited by depth, time, nodes or perft = depth]" << endl;
+
+ Threads.exit();