mirror of
https://github.com/servo/servo.git
synced 2025-08-15 02:15:33 +01:00
Auto merge of #29600 - mrobinson:layout-2020-args, r=jdm
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. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they change the arguments accepted by mach. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
2803edd5e1
3 changed files with 5 additions and 5 deletions
|
@ -13,7 +13,7 @@ def create_parser():
|
|||
parser.add_argument("--token-file", action="store", type=wptcommandline.abs_path,
|
||||
help="Path to file containing github token")
|
||||
parser.add_argument("--token", action="store", help="GitHub token to use")
|
||||
parser.add_argument('--layout-2020', default=False, action="store_true",
|
||||
parser.add_argument("--layout-2020", "--with-layout-2020", default=False, action="store_true",
|
||||
help="Use expected results for the 2020 layout engine")
|
||||
return parser
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue