Skip to content

Commit a4f7864

Browse files
Merge pull request #195 from centreformicrosimulation/bugfix/194-missing-break-statement-from-simpathsmultirunparsecommandlineargs
Add break statement at file parsing to avoid default value
2 parents 688836a + 080e6e0 commit a4f7864

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/simpaths/experiment/SimPathsMultiRun.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ private static boolean parseCommandLineArgs(String[] args) {
218218
log.info("Not persisting processed data");
219219
persist_population = false;
220220
persist_root = false;
221+
break;
221222
default:
222223
System.out.println("Persist option `" + cmd.getOptionValue("P") + "` not recognised. Valid values: `none`, `root`, `run`. Persisting processed data to run folder");
223224
persist_population = true;

0 commit comments

Comments
 (0)