diff options
| author | thecharlesblake | 2018-04-06 23:19:12 +0100 |
|---|---|---|
| committer | thecharlesblake | 2018-04-06 23:19:12 +0100 |
| commit | 080f833b154539e8f82386832db518403e7ee73a (patch) | |
| tree | ad2b64972993b3e3d0855b2693dc959527a53723 /src/main/input-output/input | |
| parent | Merge pull request #52 from thecharlesblake/auto-foundations-streamliner (diff) | |
| download | metasol-080f833b154539e8f82386832db518403e7ee73a.tar.gz metasol-080f833b154539e8f82386832db518403e7ee73a.zip | |
Fix custom rules cmdln bug
Diffstat (limited to 'src/main/input-output/input')
| -rw-r--r-- | src/main/input-output/input/command_line_helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/input-output/input/command_line_helper.cpp b/src/main/input-output/input/command_line_helper.cpp index e3af0cd..92fef21 100644 --- a/src/main/input-output/input/command_line_helper.cpp +++ b/src/main/input-output/input/command_line_helper.cpp @@ -94,8 +94,8 @@ bool command_line_helper::parse(int argc, const char* argv[]) { solitaire_type = vm["type"].as<string>(); } - if (vm.count("rules")) { - rules_file = vm["rules"].as<string>(); + if (vm.count("custom-rules")) { + rules_file = vm["custom-rules"].as<string>(); } if (vm.count("random")) { |
