Skip to content

Fix help fallback when more is unavailable#3

Merged
backnotprop merged 1 commit into
masterfrom
pickup/help-pager-fallback
Jun 17, 2026
Merged

Fix help fallback when more is unavailable#3
backnotprop merged 1 commit into
masterfrom
pickup/help-pager-fallback

Conversation

@backnotprop

Copy link
Copy Markdown

Summary

  • respect explicit ADR_PAGER and PAGER settings
  • when no pager is configured, fall back through more, less, then cat
  • add a regression test for environments where more is unavailable

Validation

  • restricted-PATH repro without more
  • explicit ADR_PAGER=cat check
  • make clean check

Reimplements the intent of npryce#146 and credits Abner Rolim as co-author.

Reimplements the intent of npryce#146 with an explicit pager fallback chain that preserves ADR_PAGER and PAGER.

Co-authored-by: Abner Rolim <bajalahara@gmail.com>
Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@backnotprop backnotprop merged commit ebb49b6 into master Jun 17, 2026
@backnotprop backnotprop deleted the pickup/help-pager-fallback branch June 18, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant