fix interactive option
This commit is contained in:
parent
5c4a2bb4f7
commit
3dafee21dd
1 changed files with 6 additions and 6 deletions
|
@ -220,13 +220,13 @@ namespace Hanabi
|
||||||
quiet_os << "Visited " << game.state->enumerated_states() << " states." << std::endl;
|
quiet_os << "Visited " << game.state->enumerated_states() << " states." << std::endl;
|
||||||
quiet_os << "Enumerated " << game.state->position_tablebase().size() << " unique game states. " << std::endl;
|
quiet_os << "Enumerated " << game.state->position_tablebase().size() << " unique game states. " << std::endl;
|
||||||
|
|
||||||
|
}
|
||||||
// If specified, we can now launch the interactive shell
|
// If specified, we can now launch the interactive shell
|
||||||
if (parms.interactive.value_or(!parms.quiet))
|
if (parms.interactive.value_or(!parms.quiet))
|
||||||
{
|
{
|
||||||
quiet_os << "\nDropping into interactive command line to explore result (type 'help'):" << std::endl;
|
quiet_os << "\nDropping into interactive command line to explore result (type 'help'):" << std::endl;
|
||||||
cli(game);
|
cli(game);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue