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)
Fri, Apr 5, 3:10 AM
Unknown Object (File)
Sun, Mar 31, 11:32 AM
Unknown Object (File)
Sun, Mar 31, 11:32 AM
Unknown Object (File)
Sun, Mar 31, 11:32 AM
Unknown Object (File)
Sun, Mar 31, 11:32 AM
Unknown Object (File)
Fri, Mar 29, 5:42 AM
Unknown Object (File)
Mar 10 2024, 5:15 AM
Unknown Object (File)
Feb 9 2024, 2:53 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