Skip to content

Commit 44e7dd3

Browse files
quaffsnicoll
authored andcommitted
Make application main class explicit in usage help
See gh-43614
1 parent 3df7c83 commit 44e7dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplicationAotProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected GenericApplicationContext prepareApplicationContext(Class<?> applicati
6666
public static void main(String[] args) throws Exception {
6767
int requiredArgs = 6;
6868
Assert.isTrue(args.length >= requiredArgs, () -> "Usage: " + SpringApplicationAotProcessor.class.getName()
69-
+ " <applicationName> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
69+
+ " <applicationMainClass> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
7070
Class<?> application = Class.forName(args[0]);
7171
Settings settings = Settings.builder()
7272
.sourceOutput(Paths.get(args[1]))

0 commit comments

Comments
 (0)