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.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 5:47 AM
Unknown Object (File)
Mon, Dec 16, 5:47 AM
Unknown Object (File)
Mon, Dec 16, 5:47 AM
Unknown Object (File)
Mon, Dec 16, 5:47 AM
Unknown Object (File)
Sat, Dec 14, 3:57 PM
Unknown Object (File)
Fri, Dec 13, 9:12 PM
Unknown Object (File)
Sun, Dec 8, 5:16 PM
Unknown Object (File)
Sat, Dec 7, 10:41 PM
Subscribers
None

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
Lint Not Applicable
Unit
Tests Not Applicable