Skip to content

Title each man page after its command - #104

Merged
andrew merged 1 commit into
mainfrom
man-page-titles
Dec 1, 2026
Merged

andrew merged 1 commit into
mainfrom
man-page-titles

Conversation

@andrew

@andrew andrew commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

The generator set a fixed Title in the man header, so every subcommand page was headed with the root command name. Without it cobra derives the title from the command path, so each page's .TH line carries its own command name.

Summary by CodeRabbit

  • Documentation
    • The man-page header no longer explicitly displays “PIN” as its title. This changes the title shown in the manual page; no other documentation changes are noted.

A fixed title put the root command name in the header of every subcommand page.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The man-page header no longer explicitly sets its title to PIN.

Changes: Man-page header

Layer / File(s) Summary
Remove explicit header title
scripts/generate-man/main.go
The header configuration no longer sets the title to PIN.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: Minimal · up to b9fb1

Generated man pages for subcommands will now show their own command names in the header instead of the root name. This only affects documentation output and carries no meaningful merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Title each man page after its command" matches the change. The PR removes the fixed PIN title from the man-page header in scripts/generate-man/main.go, so each subcommand page's .TH line us…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Title each man page after its command" matches the change. The PR removes the fixed PIN title from the man-page header in scripts/generate-man/main.go, so each subcommand page's .TH line uses its own command name. The title states the main behavior change clearly and specifically.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: de50cee1-c1d1-48b8-ba9b-efc8990accd0
Commits

Reviewing files that changed from the base of the PR and between 0a21470 and b9fb1d3.

Files selected for processing: 1

  • scripts/generate-man/main.go
Files with no reviewable changes: 1

  • scripts/generate-man/main.go

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@andrew
andrew merged commit 01c9410 into main Dec 1, 2026
9 checks passed
@andrew
andrew deleted the man-page-titles branch December 1, 2026 10:29
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