From f7168282a1c034b4ff0caee37f97d4b20155f455 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 7 Apr 2023 11:24:14 +0200 Subject: Have all mach command accept "--with-layout-2020" and "--layout-2020" Some command accepted one and some the other. This changes makes them all accept both so it's no longer necessary to remember which uses which. --- python/servo/testing_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/servo/testing_commands.py') diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 0cb20c0127f..9818c5ab20e 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -76,8 +76,8 @@ def create_parser_wpt(): help="Run under chaos mode in rr until a failure is captured") parser.add_argument('--pref', default=[], action="append", dest="prefs", help="Pass preferences to servo") - parser.add_argument('--layout-2020', default=False, action="store_true", - help="Use expected results for the 2020 layout engine") + parser.add_argument('--layout-2020', '--with-layout-2020', default=False, + action="store_true", help="Use expected results for the 2020 layout engine") parser.add_argument('--log-servojson', action="append", type=mozlog.commandline.log_file, help="Servo's JSON logger of unexpected results") parser.add_argument('--always-succeed', default=False, action="store_true", -- cgit v1.2.3