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)
Tue, Nov 19, 1:22 AM
Unknown Object (File)
Oct 21 2024, 2:45 PM
Unknown Object (File)
Oct 16 2024, 9:06 AM
Unknown Object (File)
Oct 15 2024, 10:57 PM
Unknown Object (File)
Oct 9 2024, 6:34 PM
Unknown Object (File)
Sep 9 2024, 10:25 PM
Unknown Object (File)
Sep 3 2024, 8:12 AM
Unknown Object (File)
Sep 3 2024, 8:12 AM
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