Browse Source

Fix wrong help page for archive detection logic

Fixes gh-2355
pull/2408/head
Stephane Nicoll 11 years ago
parent
commit
4bee1b0e1b
  1. 4
      spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java

4
spring-boot-cli/src/main/java/org/springframework/boot/cli/command/init/InitCommand.java

@ -64,7 +64,7 @@ public class InitCommand extends OptionParsingCommand { @@ -64,7 +64,7 @@ public class InitCommand extends OptionParsingCommand {
examples.add(new HelpExample("To create a web my-app.zip",
"spring init -d=web my-app.zip"));
examples.add(new HelpExample("To create a web/data-jpa gradle project unpacked",
"spring init -d=web,jpa --build=gradle my-dir/"));
"spring init -d=web,jpa --build=gradle my-dir"));
return examples;
}
@ -144,7 +144,7 @@ public class InitCommand extends OptionParsingCommand { @@ -144,7 +144,7 @@ public class InitCommand extends OptionParsingCommand {
private void otherOptions() {
this.extract = option(Arrays.asList("extract", "x"),
"Extract the project archive. Inferred if a location is specified and ends with /");
"Extract the project archive. Inferred if a location is specified without an extension");
this.force = option(Arrays.asList("force", "f"),
"Force overwrite of existing files");
}

Loading…
Cancel
Save