mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Fix wrong help page for archive detection logic
Fixes gh-2355
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user