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)
Tue, Dec 17, 3:03 AM
Unknown Object (File)
Fri, Dec 13, 7:54 AM
Unknown Object (File)
Sun, Dec 8, 7:03 AM
Unknown Object (File)
Mon, Dec 2, 4:29 PM
Unknown Object (File)
Thu, Nov 28, 7:20 PM
Unknown Object (File)
Thu, Nov 28, 7:19 PM
Unknown Object (File)
Thu, Nov 28, 7:19 PM
Unknown Object (File)
Thu, Nov 28, 7:05 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.