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, Feb 4, 11:04 PM
Unknown Object (File)
Thu, Jan 30, 12:52 AM
Unknown Object (File)
Thu, Jan 23, 10:28 PM
Unknown Object (File)
Thu, Jan 23, 10:28 PM
Unknown Object (File)
Thu, Jan 23, 10:28 PM
Unknown Object (File)
Thu, Jan 23, 9:54 AM
Unknown Object (File)
Wed, Jan 22, 11:09 AM
Unknown Object (File)
Jan 7 2025, 9:42 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
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.