aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorthecharlesblake2018-04-06 23:19:12 +0100
committerthecharlesblake2018-04-06 23:19:12 +0100
commit080f833b154539e8f82386832db518403e7ee73a (patch)
treead2b64972993b3e3d0855b2693dc959527a53723 /src/main
parentMerge pull request #52 from thecharlesblake/auto-foundations-streamliner (diff)
downloadmetasol-080f833b154539e8f82386832db518403e7ee73a.tar.gz
metasol-080f833b154539e8f82386832db518403e7ee73a.zip

Fix custom rules cmdln bug

Diffstat (limited to 'src/main')
-rw-r--r--src/main/input-output/input/command_line_helper.cpp4
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")) {