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)
Thu, Feb 29, 10:37 AM
Unknown Object (File)
Thu, Feb 29, 10:32 AM
Unknown Object (File)
Jan 26 2024, 6:02 PM
Unknown Object (File)
Jan 20 2024, 5:57 AM
Unknown Object (File)
Jan 11 2024, 12:44 PM
Unknown Object (File)
Jan 5 2024, 3:56 PM
Unknown Object (File)
Dec 29 2023, 10:10 AM
Unknown Object (File)
Dec 23 2023, 3:19 PM
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.