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)
Sun, Dec 22, 3:49 PM
Unknown Object (File)
Sun, Dec 15, 9:54 PM
Unknown Object (File)
Sat, Dec 7, 5:37 PM
Unknown Object (File)
Tue, Dec 3, 4:26 AM
Unknown Object (File)
Nov 23 2024, 9:42 AM
Unknown Object (File)
Nov 14 2024, 5:07 PM
Unknown Object (File)
Nov 8 2024, 6:09 AM
Unknown Object (File)
Oct 31 2024, 6:27 AM
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.