aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-04-07 11:24:14 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-04-07 11:24:14 +0200
commitf7168282a1c034b4ff0caee37f97d4b20155f455 (patch)
tree137a81a2be6168b154241bb9d74ea827e735a3c6 /python/servo/command_base.py
parentcfef75c99b89193bd82d44a6dffc35119ce7f8d0 (diff)
downloadservo-f7168282a1c034b4ff0caee37f97d4b20155f455.tar.gz
servo-f7168282a1c034b4ff0caee37f97d4b20155f455.zip
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.
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index 2ebbdbb9851..7dafcd8c5db 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -845,8 +845,8 @@ install them, let us know by filing a bug!")
action='store_true',
help='Build with frame pointer enabled, used by the background hang monitor.',
),
- CommandArgument('--with-layout-2020', default=None, action='store_true'),
- CommandArgument('--with-layout-2013', default=None, action='store_true'),
+ CommandArgument('--with-layout-2020', '--layout-2020', default=None, action='store_true'),
+ CommandArgument('--with-layout-2013', '--layout-2013', default=None, action='store_true'),
CommandArgument('--without-wgl', default=None, action='store_true'),
]