1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #25826 -- Improved help text for the --parallel option

This was overlooked in 81f5d63218.
This commit is contained in:
Baptiste Mispelon 2015-11-27 23:08:34 +01:00
parent 81f5d63218
commit ab33269b00

View File

@ -392,8 +392,8 @@ class DiscoverRunner(object):
help='Prints logged SQL queries on failure.')
parser.add_argument(
'--parallel', dest='parallel', nargs='?', default=1, type=int,
const=default_test_processes(),
help='Run tests in parallel processes.')
const=default_test_processes(), metavar='N',
help='Run tests using up to N parallel processes.')
def setup_test_environment(self, **kwargs):
setup_test_environment()