diff options
| author | thecharlesblake | 2017-11-13 10:20:49 +0000 |
|---|---|---|
| committer | thecharlesblake | 2017-11-13 10:26:16 +0000 |
| commit | 6939069019b91f8a36febd1640cc5124651d7093 (patch) | |
| tree | 9129bb0d4a0c3adfdf97623c19fe833d4e2b0a15 /src/main/input-output/command_line_helper.h | |
| parent | Merge pull request #20 from thecharlesblake/initial-code-cleanup (diff) | |
| download | metasol-6939069019b91f8a36febd1640cc5124651d7093.tar.gz metasol-6939069019b91f8a36febd1640cc5124651d7093.zip | |
Add command line argument for rules file
Diffstat (limited to 'src/main/input-output/command_line_helper.h')
| -rw-r--r-- | src/main/input-output/command_line_helper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/input-output/command_line_helper.h b/src/main/input-output/command_line_helper.h index bb2f698..fd1468c 100644 --- a/src/main/input-output/command_line_helper.h +++ b/src/main/input-output/command_line_helper.h @@ -14,6 +14,7 @@ public: bool parse(int argc, const char* argv[]); const std::vector<std::string> get_input_files(); const std::string get_solitaire_type(); + const std::string get_rules_file(); int get_random_deal(); bool get_help(); @@ -22,7 +23,7 @@ private: bool assess_sol_type(); void print_help(); void print_no_input_error(); - void print_no_sol_type_error(); + void print_sol_type_rules_error(); void print_rand_plus_input_err(); boost::program_options::options_description cmdline_options; @@ -31,6 +32,7 @@ private: std::vector<std::string> input_files; std::string solitaire_type; + std::string rules_file; int random_deal; bool help; }; |
