This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch maven-4.0.x
in repository https://gitbox.apache.org/repos/asf/maven.git
The following commit(s) were added to refs/heads/maven-4.0.x by this push:
new 9613557b62 Improve mvn usage message (#11211) (#11213)
9613557b62 is described below
commit 9613557b628a4274db8ba7b5b8a6a405a7998b0e
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Oct 8 13:19:03 2025 +0200
Improve mvn usage message (#11211) (#11213)
Fixes #11200
(cherry picked from commit c46df0da30a0d0a1bd7cf14c5460d70f95f07913)
---
.../src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
b/impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
index 7ed2dcb68b..c417f24f40 100644
---
a/impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
+++
b/impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
@@ -535,7 +535,7 @@ public void displayHelp(String command, Consumer<String>
pw) {
}
protected String commandLineSyntax(String command) {
- return command + " [options] [goals]";
+ return command + " [options] [<goal|phase> ...]";
}
}
}