@@ -577,6 +577,11 @@ public static String[] parseOptions(String[] argv) throws ParseException {
577
577
parser .on ("--mandoc" , "=/path/to/mandoc" , "Path to mandoc(1) binary." )
578
578
.Do (mandocPath -> cfg .setMandoc ((String ) mandocPath ));
579
579
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
+
580
585
parser .on ("-n" , "--noIndex" ,
581
586
"Do not generate indexes and other data (such as history cache and xref files), " +
582
587
"but process all other command line options." ).Do (v -> runIndex = false );
@@ -707,11 +712,6 @@ public static String[] parseOptions(String[] argv) throws ParseException {
707
712
Do (stylePath -> cfg .setWebappLAF ((String ) stylePath )
708
713
);
709
714
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
-
715
715
parser .on ("-T" , "--threads" , "=number" , Integer .class ,
716
716
"The number of threads to use for index generation." ,
717
717
"By default the number of threads will be set to the number" ,
0 commit comments