diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py index bb7ecae9b..e20485c76 100644 --- a/mesonbuild/mcompile.py +++ b/mesonbuild/mcompile.py @@ -305,7 +305,7 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None: '-l', '--load-average', action='store', default=0, - type=int, + type=float, help='The system load average to try to maintain (if supported).' ) parser.add_argument(