]> khamidou — GitHub mirrors - arcanist.git/commit
Simplify `arc help`, add `arc help --full`
authorvrana <jakubv@fb.com>
Sun, 4 Mar 2012 11:16:45 +0000 (03:16 -0800)
committervrana <jakubv@fb.com>
Mon, 5 Mar 2012 18:44:17 +0000 (10:44 -0800)
commitee21b3c66186dfb152682fa6e1f1494ea80213e6
tree0249970f6f4b1d9ccf6b41adc57a977de62ec207
parentba21708513224ae5a46227d7e621933efd16762a
Simplify `arc help`, add `arc help --full`

Summary:
`arc help` currently prints more than 500 lines and it is hardly usable without ##> arc.help##, ##| less##, ##| grep##, ##| wc -l## or such.
It is even worse with custom commands and options.

This diff changes `arc help` to only list commands with no description (under 100 lines).
It also adds `arc help --full` which maintains the original behavior.
It doesn't change `arc help <command>`.

NOTE: BC break on different levels.

Test Plan:
  arc help
  arc help --full
  arc help help
  arc help lint

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, epriestley
Differential Revision: https://secure.phabricator.com/D1769
src/workflow/help/ArcanistHelpWorkflow.php