[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:
Herve Boutemy 2012-04-30 17:30:04 +00:00
parent b7cd7e8bc8
commit 3289f39cb9
1 changed files with 7 additions and 2 deletions

View File

@ -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() )