better usage printing in cli
This commit is contained in:
parent
dc340b2447
commit
3211a20c9c
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ namespace Hanabi {
|
||||||
|
|
||||||
void print_usage(const char* program_name) {
|
void print_usage(const char* program_name) {
|
||||||
std::cout << "Usage: " << program_name << "(GAME_ID | GAME_FILE) TURN" << std::endl;
|
std::cout << "Usage: " << program_name << "(GAME_ID | GAME_FILE) TURN" << std::endl;
|
||||||
std::cout << " where GAME_ID is an id from hanab.live and GAME_FILE is a path to a file describing the game in hanab.live json format";
|
std::cout << " GAME_ID A game id from hanab.live" << std::endl;
|
||||||
|
std::cout << " GAME_FILE A path to a file describing the game in hanab.live json format." << std::endl;
|
||||||
|
std::cout << " TURN Turn number of state to analyze. Turn 1 means no actions have been taken." << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue