HomePhabricator

Improve handling of options for `arc` workflows

Description

Improve handling of options for arc workflows

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.

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11464

Details

Provenance
joshuaspenceAuthored on
joshuaspencePushed on Jan 22 2015, 8:07 PM
Reviewer
Blessed Reviewers
Differential Revision
D11464: Improve handling of options for `arc` workflows
Parents
rARC1cc8f3f377f6: Don't use newInstanceWithoutConstructor in Arcanist unit test
Branches
Unknown
Tags
Unknown