diff --git a/CHANGELOG.md b/CHANGELOG.md index 71f9e50f..6968fb21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,8 @@ only add here if you are working on a PR ### Fixed +- The `--multiply-processes` option was being parsed into `options[:multiply-processes]` but was being referenced as `options[:multiply]` in the code + ## 5.3.0 - 2025-05-30 ### Added diff --git a/lib/parallel_tests/cli.rb b/lib/parallel_tests/cli.rb index d53fbef5..5d40218d 100644 --- a/lib/parallel_tests/cli.rb +++ b/lib/parallel_tests/cli.rb @@ -15,7 +15,7 @@ def run(argv) ENV['DISABLE_SPRING'] ||= '1' num_processes = ParallelTests.determine_number_of_processes(options[:count]) - num_processes = (num_processes * ParallelTests.determine_multiple(options[:multiply])).round + num_processes = (num_processes * ParallelTests.determine_multiple(options[:multiply_processes])).round options[:first_is_1] ||= first_is_1?