Skip to content

Commit f264766

Browse files
committed
Document "-t/--threads" parameter
1 parent ffc113d commit f264766

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.rdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ on a list of standard projects(Spring Framework, Hibernate, Solr, etc.)
3131
the PMD report of master/base branch rather than generating it locally
3232
local: Default option is 'local', PMD reports for the base and patch branches are generated locally.
3333

34+
-t, --threads Sets the number of threads used by PMD. Set threads to 0 to disable multi-threading processing. default:1
3435
-f, --html-flag whether to not generate the html diff report in single mode
3536
-a, --auto-gen-config whether to generate configurations automatically based on branch differences,this option only works in online and local mode
3637
-d, --debug whether change log level to DEBUG to see more information

lib/pmdtester/parsers/options.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def parse(argv)
6363
single: Set this option to 'single' if your patch branch contains changes
6464
for any option that can't work on master/base branch
6565
online: Set this option to 'online' if you want to download
66-
'the PMD report of master/base branch rather than generating it locally
67-
local: Default option is 'local'
66+
the PMD report of master/base branch rather than generating it locally
67+
local: Default option is 'local', PMD reports for the base and patch branches are generated locally.
6868
DOC
6969

7070
Slop.parse argv do |o|

0 commit comments

Comments
 (0)