fix: CLI argument name
This commit is contained in:
parent
bdc65411ae
commit
f0257a1292
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue