Document jobs=0 behavior in help message and man page

This commit is contained in:
Ville Skyttä 2018-06-12 10:34:09 +03:00 committed by Claudiu Popa
parent 1347e2a966
commit 740906eeac
2 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ Pickle collected data for later comparisons. [current: yes]
.IP "--load-plugins=<modules>"
List of plugins (as comma separated values of python modules names) to load, usually to register additional checkers. [current: none]
.IP "--jobs=<n-processes>, -j <n-processes>"
Use multiple processes to speed up Pylint. [current: 1]
Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the number of processors available to use. [current: 1]
.IP "--extension-pkg-whitelist=<pkg[,pkg]>"
A comma-separated list of package or module names from where C extensions may be loaded. Extensions are loading into the active Python interpreter and may run arbitrary code [current: none]

View File

@ -398,7 +398,8 @@ class PyLinter(config.OptionsManagerMixIn,
{'type' : 'int', 'metavar': '<n-processes>',
'short': 'j',
'default': 1,
'help' : '''Use multiple processes to speed up Pylint.''',
'help' : 'Use multiple processes to speed up Pylint. Specifying 0 will '
'auto-detect the number of processors available to use.',
}),
('unsafe-load-any-extension',