@@ -577,6 +577,11 @@ public static String[] parseOptions(String[] argv) throws ParseException {
577577 parser .on ("--mandoc" , "=/path/to/mandoc" , "Path to mandoc(1) binary." )
578578 .Do (mandocPath -> cfg .setMandoc ((String ) mandocPath ));
579579
580+ parser .on ("-N" , "--symlink" , "=/path/to/symlink" ,
581+ "Allow this symlink to be followed. Option may be repeated." ,
582+ "By default only symlinks directly under source root directory" ,
583+ "are allowed." ).Do (symlink -> allowedSymlinks .add ((String ) symlink ));
584+
580585 parser .on ("-n" , "--noIndex" ,
581586 "Do not generate indexes and other data (such as history cache and xref files), " +
582587 "but process all other command line options." ).Do (v -> runIndex = false );
@@ -707,11 +712,6 @@ public static String[] parseOptions(String[] argv) throws ParseException {
707712 Do (stylePath -> cfg .setWebappLAF ((String ) stylePath )
708713 );
709714
710- parser .on ("--symlink" , "=/path/to/symlink" ,
711- "Allow this symlink to be followed. Option may be repeated." ,
712- "By default only symlinks directly under source root directory" ,
713- "are allowed." ).Do (symlink -> allowedSymlinks .add ((String ) symlink ));
714-
715715 parser .on ("-T" , "--threads" , "=number" , Integer .class ,
716716 "The number of threads to use for index generation." ,
717717 "By default the number of threads will be set to the number" ,
0 commit comments