Auto merge of #19304 - asajeffrey:test-perf-dash-dash-submit, r=jdm

Renamed mach test-perf -submit to --submit.

<!-- Please describe your changes on the following line: -->

The `-submit` option should be `--submit` (2 dashes, not one).

---
<!-- 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 are test infrastructure

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19304)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-11-20 14:15:23 -06:00 committed by GitHub
commit 2469808b6e

View file

@ -175,7 +175,7 @@ class MachCommands(CommandBase):
category='testing')
@CommandArgument('--base', default=None,
help="the base URL for testcases")
@CommandArgument('-submit', '-a', default=False, action="store_true",
@CommandArgument('--submit', '-a', default=False, action="store_true",
help="submit the data to perfherder")
def test_perf(self, base=None, submit=False):
self.set_software_rendering_env(True)