diff --git a/pyperformance/compile.py b/pyperformance/compile.py index c96dc4e0..c1ffe06d 100644 --- a/pyperformance/compile.py +++ b/pyperformance/compile.py @@ -571,7 +571,7 @@ def run_benchmark(self, python=None): if self.conf.debug: cmd.append("--debug-single-value") if self.conf.same_loops: - cmd.append("--same_loops=%s" % self.conf.same_loops) + cmd.append("--same-loops=%s" % self.conf.same_loops) if self.conf.rigorous: cmd.append("--rigorous") exitcode = self.run_nocheck(*cmd)