better usage printing in cli

This commit is contained in:
Maximilian Keßler 2023-09-06 12:05:29 +02:00
parent dc340b2447
commit 3211a20c9c
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -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;
} }
} }