From 1a2824453fe853682ef0adc4c6d884f5722ef0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Fri, 14 Jun 2024 11:20:13 +0200 Subject: [PATCH] improve CLI documentation --- src/command_line_interface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/command_line_interface.cpp b/src/command_line_interface.cpp index 42da3f6..d30cc29 100644 --- a/src/command_line_interface.cpp +++ b/src/command_line_interface.cpp @@ -240,7 +240,7 @@ namespace Hanabi ("file,f", bpo::value(), "Input file containing game in hanab.live json format.") ("turn,t", bpo::value(&parms.game_state_spec), "Turn number of state to analyze. " "Turn 1 means no actions have been taken. ") - ("draw-pile-size,d", bpo::value(&parms.game_state_spec), "Draw pile size of state to analyze.") + ("draw-pile-size,d", bpo::value(&parms.game_state_spec), "Draw pile size of state to analyze. Must be at most 20.") ("score-goal,s" , bpo::value>(&parms.score_goal) , "Score that counts as a win, i.e. is optimized for achieving. If unspecified, the maximum possible " @@ -286,7 +286,6 @@ namespace Hanabi std::cout << "You have to either specify --game or --file as a data source.\n"; std::cout << "You may not specify both --turn and --draw at the same time.\n"; std::cout << "You may not specifiy both --recursive and --list-actions at the same time.\n"; - std::cout << "If none of them is specified, it is assumed that --draw 5 was given." << std::endl; return std::nullopt; }