Closed
Bug 1342634
Opened 8 years ago
Closed 8 years ago
Use --optimize/--no-optimize style in autospider.py
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla54
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
|
2.10 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
followup for bug 1342301
currently it shows "--optimize OPT" in --help, but I have no idea how to store False.
(I should've reviewed more thoroughly :P
so, it would be better using --optimize/--no-optimize style
| Assignee | ||
Comment 1•8 years ago
|
||
Changed --optimize to store_true action,
and also added --no-optimize, both in mutually exclusive group.
Attachment #8841154 -
Flags: review?(sphink)
Comment 2•8 years ago
|
||
Comment on attachment 8841154 [details] [diff] [review]
Use --optimize/--no-optimize style in autospider.py
Review of attachment 8841154 [details] [diff] [review]:
-----------------------------------------------------------------
Oh, sorry! I somehow just assumed that type=bool would do that automatically, and only tested the positive case. (I was probably thinking of Perl's Getopt::Long, which *does* add a --no-X for any boolean argument.)
Attachment #8841154 -
Flags: review?(sphink) → review+
| Assignee | ||
Comment 3•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a3d1476da61fcb6278703f9ade471e20fe01978a
Bug 1342634 - Use --optimize/--no-optimize style in autospider.py r=sfink
Comment 4•8 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Comment 5•8 years ago
|
||
| bugherder uplift | ||
status-firefox53:
--- → fixed
Comment 6•8 years ago
|
||
| bugherder uplift | ||
status-firefox-esr52:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•