diff options
| author | thecharlesblake | 2017-10-26 14:51:13 +0100 |
|---|---|---|
| committer | thecharlesblake | 2017-10-27 10:28:29 +0100 |
| commit | 3eff79ed14f1fda1f148a9a4c5c3a1ae4edbee37 (patch) | |
| tree | e0d25f622a2e35e72172cc0409e4c0937ed2c3f5 /src/main/command_line_helper.h | |
| parent | Draft of OO game logic (diff) | |
| download | metasol-3eff79ed14f1fda1f148a9a4c5c3a1ae4edbee37.tar.gz metasol-3eff79ed14f1fda1f148a9a4c5c3a1ae4edbee37.zip | |
BH Solver with path outputted, based on user input
Diffstat (limited to 'src/main/command_line_helper.h')
| -rw-r--r-- | src/main/command_line_helper.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/command_line_helper.h b/src/main/command_line_helper.h index 53a5a5e..3454bfb 100644 --- a/src/main/command_line_helper.h +++ b/src/main/command_line_helper.h @@ -11,16 +11,17 @@ class command_line_helper { public: command_line_helper(); bool parse(int argc, const char* argv[]); - void print_help(); - void print_no_input_error(); - void print_no_sol_type_error(); - void print_rand_plus_input_err(); const std::vector<std::string> get_input_files(); const std::string get_solitaire_type(); bool get_random_deal(); bool get_help(); - bool assess_errors(); private: + bool assess_errors(); + void print_help(); + void print_no_input_error(); + void print_no_sol_type_error(); + void print_rand_plus_input_err(); + boost::program_options::options_description cmdline_options; boost::program_options::options_description main_options; boost::program_options::positional_options_description p; |
