Page MenuHomePhabricator

Make "arc <workflow> --help" work again for workflows which haven't updated yet
ClosedPublic

Authored by epriestley on Apr 25 2020, 3:54 PM.

Details

Summary

See https://discourse.phabricator-community.org/t/help-is-no-longer-present-for-arc-subcommands-in-todays-stable/3786.

The "--help" flag ends up falling through to the old "arcanist.php", where it becomes lost. Catch it earlier so "arc diff --help" prints diff help, for instance.

Test Plan

Ran arc help diff, arc diff --help, arc --help diff, and similar commands for updated workflows; got help.

Diff Detail

Repository
rARC Arcanist
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.