mirror of https://github.com/apache/maven.git
[MNG-5279] added anchors for each option
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1332308 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7cd7e8bc8
commit
3289f39cb9
|
@ -65,10 +65,15 @@ public class CLIManagerTest
|
|||
for ( Option option : new CLIManagerExtension().getOptions() )
|
||||
{
|
||||
a = !a;
|
||||
sb.append( "<tr class='" + ( a ? 'a' : 'b' ) + "'><td><code>-" );
|
||||
sb.append( "<tr class='" + ( a ? 'a' : 'b' ) + "'><td><code>-<a name='" );
|
||||
sb.append( option.getOpt() );
|
||||
sb.append( ",--" );
|
||||
sb.append( "'>" );
|
||||
sb.append( option.getOpt() );
|
||||
sb.append( "</a>,--<a name='" );
|
||||
sb.append( option.getLongOpt() );
|
||||
sb.append( "'>" );
|
||||
sb.append( option.getLongOpt() );
|
||||
sb.append( "</a>" );
|
||||
if ( option.hasArg() )
|
||||
{
|
||||
if ( option.hasArgName() )
|
||||
|
|
Loading…
Reference in New Issue