@@ -750,6 +750,17 @@ public static String[] parseOptions(String[] argv) throws ParseException {
750
750
"stylesheet. The factory-setting is: \" default\" ." ).execute (stylePath ->
751
751
cfg .setWebappLAF ((String ) stylePath ));
752
752
753
+ parser .on ("-T" , "--threads" , "=number" , Integer .class ,
754
+ "The number of threads to use for index generation, repository scan" ,
755
+ "and repository invalidation." ,
756
+ "By default the number of threads will be set to the number of available" ,
757
+ "CPUs. This influences the number of spawned ctags processes as well." ).
758
+ execute (threadCount -> cfg .setIndexingParallelism ((Integer ) threadCount ));
759
+
760
+ parser .on ("-t" , "--tabSize" , "=number" , Integer .class ,
761
+ "Default tab size to use (number of spaces per tab character)." )
762
+ .execute (tabSize -> cfg .setTabSize ((Integer ) tabSize ));
763
+
753
764
parser .on ("--token" , "=string|@file_with_string" ,
754
765
"Authorization bearer API token to use when making API calls" ,
755
766
"to the web application" ).
@@ -767,17 +778,6 @@ public static String[] parseOptions(String[] argv) throws ParseException {
767
778
}
768
779
});
769
780
770
- parser .on ("-T" , "--threads" , "=number" , Integer .class ,
771
- "The number of threads to use for index generation, repository scan" ,
772
- "and repository invalidation." ,
773
- "By default the number of threads will be set to the number of available" ,
774
- "CPUs. This influences the number of spawned ctags processes as well." ).
775
- execute (threadCount -> cfg .setIndexingParallelism ((Integer ) threadCount ));
776
-
777
- parser .on ("-t" , "--tabSize" , "=number" , Integer .class ,
778
- "Default tab size to use (number of spaces per tab character)." )
779
- .execute (tabSize -> cfg .setTabSize ((Integer ) tabSize ));
780
-
781
781
parser .on ("-U" , "--uri" , "=SCHEME://webappURI:port/contextPath" ,
782
782
"Send the current configuration to the specified web application." ).execute (webAddr -> {
783
783
webappURI = (String ) webAddr ;
0 commit comments