Skip to content

Commit

Permalink
Make application main class explicit in usage help
Browse files Browse the repository at this point in the history
  • Loading branch information
quaff authored and snicoll committed Jan 7, 2025
1 parent 3df7c83 commit 44e7dd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected GenericApplicationContext prepareApplicationContext(Class<?> applicati
public static void main(String[] args) throws Exception {
int requiredArgs = 6;
Assert.isTrue(args.length >= requiredArgs, () -> "Usage: " + SpringApplicationAotProcessor.class.getName()
+ " <applicationName> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
+ " <applicationMainClass> <sourceOutput> <resourceOutput> <classOutput> <groupId> <artifactId> <originalArgs...>");
Class<?> application = Class.forName(args[0]);
Settings settings = Settings.builder()
.sourceOutput(Paths.get(args[1]))
Expand Down

0 comments on commit 44e7dd3

Please sign in to comment.