Page MenuHomePhabricator

Show some "arc" help pages through a configurable pager, like "less"
ClosedPublic

Authored by epriestley on Jun 7 2020, 5:53 PM.
Tags
None
Referenced Files
F14767460: D21327.id50791.diff
Thu, Jan 23, 5:52 PM
Unknown Object (File)
Tue, Jan 21, 11:46 AM
Unknown Object (File)
Fri, Jan 17, 4:42 PM
Unknown Object (File)
Sun, Jan 12, 8:41 AM
Unknown Object (File)
Sat, Jan 11, 3:53 AM
Unknown Object (File)
Fri, Jan 10, 2:06 AM
Unknown Object (File)
Mon, Dec 30, 11:21 PM
Unknown Object (File)
Mon, Dec 30, 2:36 PM
Subscribers
None

Details

Summary

Fixes T5420. Some "arc help ..." is long and most similar commands send this kind of output through a pager.

Use a pager in at least some cases.

Test Plan

Ran "arc help land", got pager output. Ran "arc help land | cat", got raw output.

Diff Detail

Repository
rARC Arcanist
Branch
land20
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/parser/argument/workflow/PhutilHelpArgumentWorkflow.php:43XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 24579
Build 33884: Run Core Tests
Build 33883: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jun 8 2020, 11:22 PM
This revision was automatically updated to reflect the committed changes.