Skip to content

Commit 61612dd

Browse files
committed
Assume -r flag for cli when one of -f -u -e is provided. Closes: #652
1 parent fd57ed5 commit 61612dd

File tree

1 file changed

+1
-1
lines changed
  • implementations/cli/src/main/java/de/bluecolored/bluemap/cli

1 file changed

+1
-1
lines changed

implementations/cli/src/main/java/de/bluecolored/bluemap/cli/BlueMapCLI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ public static void main(String[] args) {
368368
Thread.sleep(1000); //wait a second to let the webserver start, looks nicer in the log if anything comes after that
369369
}
370370

371-
if (cmd.hasOption("r")) {
371+
if (cmd.hasOption("r") || cmd.hasOption("f") || cmd.hasOption("u") || cmd.hasOption("e")) {
372372
noActions = false;
373373

374374
boolean watch = cmd.hasOption("u");

0 commit comments

Comments
 (0)