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
Branch
help1
Lint
Lint OK
Unit
Unit Tests OK
Build Status
Buildable 24220
Build 33359: Run Core Tests
Build 33358: arc lint + arc unit