diff --git a/src/command_line_interface.cpp b/src/command_line_interface.cpp index d49f059..e3e3283 100644 --- a/src/command_line_interface.cpp +++ b/src/command_line_interface.cpp @@ -250,7 +250,7 @@ namespace Hanabi { } // Parse game state options (turn or draw), ensuring at most one is given. - if (vm.count("draw") + vm.count("turn") != 1) { + if (vm.count("draw-pile-size") + vm.count("turn") != 1) { std::cout << "Conflicting options --draw and --turn." << std::endl; std::cout << "Use '--help' to print a help message." << std::endl; return std::nullopt;