diff --git a/tools/cron/autopts_cron.py b/tools/cron/autopts_cron.py index 2c397543b0..af9f8d9f2c 100644 --- a/tools/cron/autopts_cron.py +++ b/tools/cron/autopts_cron.py @@ -86,7 +86,7 @@ def __init__(self, add_help=True): help="Names of test cases to exclude. Groups of " "test cases can be specified by profile names") - self.add_argument("--test_case_limit", nargs='?', type=int, default=0, + self.add_argument("--test_case_limit", "--test-case-limit", nargs='?', type=int, default=0, help="Limit of test cases to run")