Page MenuHomePhabricator

Improve handling of options for `arc` workflows
ClosedPublic

Authored by joshuaspence on Jan 22 2015, 12:28 AM.
Tags
None
Referenced Files
F18220855: D11464.id27566.diff
Tue, Aug 19, 4:11 PM
F18078409: D11464.diff
Mon, Aug 4, 8:07 PM
Unknown Object (File)
Jul 4 2025, 1:41 AM
Unknown Object (File)
Jun 18 2025, 4:43 AM
Unknown Object (File)
May 28 2025, 11:57 AM
Unknown Object (File)
May 17 2025, 10:19 PM
Unknown Object (File)
Mar 29 2025, 10:42 AM
Unknown Object (File)
Mar 24 2025, 7:51 AM
Subscribers

Details

Summary

Allow --severity=warning to mean the same as --severity warning. Longer term, we should convert this code to use PhutilArgumentParser, although it doesn't seem that PhutilArgumentParser support British spelling ;)

Test Plan

Ran arc lint --severity=warning. Also var_dumped $args to make sure it looked reasonable.

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3983
Build 3996: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Improve handling of options for `arc` workflows.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 22 2015, 8:04 PM
This revision was automatically updated to reflect the committed changes.