Document -n/--max-iterations in the man page - #2108
Conversation
The option is in the getopt table and in --help, but the man page never listed it. Assisted-by: Claude Opus 5 (Claude Code)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe man page now documents Suggested reviewers: Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to The man page accurately documents the existing max-iterations option, so the change is ready to merge. 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. A frame count joins the page Comment |
-n, --max-iterations=NUMBERis in the getopt table (CommandLine.c:163, short optionn:) and in--help, but the man page never listed it. Every other option the parser accepts is documented there, so this is the one gap:Placed next to
-d --delay, since both bound how long a run lasts rather than what it shows.Verified by rendering the page with
@sysconfdir@substituted:mandoc -T asciishows the new entry in COMMAND-LINE OPTIONS, andmandoc -T lintreports the same five pre-existing long-line style notes as before the change, none of them on the added lines../htop -n 1exits 0.Assisted-by: Claude Opus 5 (Claude Code), per docs/ai-contributions-policy.md. Written and verified under my account; the commit carries the trailer.