Page MenuHomePhabricator

Improve handling of options for `arc` workflows
ClosedPublic

Authored by joshuaspence on Jan 22 2015, 12:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 19, 6:11 PM
Unknown Object (File)
Thu, Aug 15, 9:50 PM
Unknown Object (File)
Jul 27 2024, 5:48 PM
Unknown Object (File)
Jul 26 2024, 10:09 PM
Unknown Object (File)
Jul 20 2024, 10:31 AM
Unknown Object (File)
Jul 19 2024, 1:09 AM
Unknown Object (File)
Jul 7 2024, 1:42 AM
Unknown Object (File)
Jun 29 2024, 4:09 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.