mirror of https://github.com/apache/maven.git
Simplify args help
This commit is contained in:
parent
f46a9131d5
commit
2c37a7a38e
|
@ -188,7 +188,7 @@ public class CLIManager
|
|||
width = HelpFormatter.DEFAULT_WIDTH;
|
||||
}
|
||||
|
||||
formatter.printHelp( pw, width, "mvn [options] [<goal(s)>] [<phase(s)>]",
|
||||
formatter.printHelp( pw, width, "mvn [args]",
|
||||
System.lineSeparator() + "Options:", options,
|
||||
HelpFormatter.DEFAULT_LEFT_PAD, HelpFormatter.DEFAULT_DESC_PAD,
|
||||
System.lineSeparator(), false );
|
||||
|
|
|
@ -1065,7 +1065,7 @@ public class MavenCli
|
|||
|
||||
if ( result.canResume() )
|
||||
{
|
||||
logBuildResumeHint( "mvn <args> -r" );
|
||||
logBuildResumeHint( "mvn [args] -r" );
|
||||
}
|
||||
else if ( !failedProjects.isEmpty() )
|
||||
{
|
||||
|
@ -1078,7 +1078,7 @@ public class MavenCli
|
|||
if ( !firstFailedProject.equals( sortedProjects.get( 0 ) ) )
|
||||
{
|
||||
String resumeFromSelector = getResumeFromSelector( sortedProjects, firstFailedProject );
|
||||
logBuildResumeHint( "mvn <args> -rf " + resumeFromSelector );
|
||||
logBuildResumeHint( "mvn [args] -rf " + resumeFromSelector );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue