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
Unknown Object (File)
Tue, Apr 16, 9:15 PM
Unknown Object (File)
Fri, Mar 29, 6:55 PM
Unknown Object (File)
Mar 8 2024, 1:23 PM
Unknown Object (File)
Feb 15 2024, 4:22 AM
Unknown Object (File)
Feb 14 2024, 8:25 PM
Unknown Object (File)
Jan 7 2024, 10:43 PM
Unknown Object (File)
Dec 28 2023, 4:44 PM
Unknown Object (File)
Dec 24 2023, 4:31 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.