- if(argc >= 2) {
- if(std::string(argv[1]) == "bench") {
- if(argc != 4) {
- std::cout << "Usage: glaurung bench <hash> <threads>" << std::endl;
+ if (argc >= 2 && string(argv[1]) == "bench")
+ {
+ if (argc < 4 || argc > 6)
+ {
+ std::cout << "Usage: glaurung bench <hash size> <threads> "
+ << "[time = 60s] [fen positions file = default]"
+ << std::endl;