Changes --threads to --max-threads