Repository navigation
docs(cli): align --max-tools help text with min 50 clamp - #1077
Merged
Merged
Conversation
The review flag help and OpenCode plugin still said min 10 after alibaba#808 raised minMaxTools to 50. Website docs already document the 1–49 clamp. Co-authored-by: Cursor <[email protected]>
Contributor
|
✅ OpenCodeReview: Review complete: 0 finding(s) across 2 selected item(s). |
Co-authored-by: Kite <[email protected]>
Githab-capibara
added a commit
to Githab-capibara/open-code-review
that referenced
this pull request
Sep 17, 2026
* docs(cli): align --max-tools help text with min 50 clamp The review flag help and OpenCode plugin still said min 10 after alibaba#808 raised minMaxTools to 50. Website docs already document the 1–49 clamp. Co-authored-by: Cursor <[email protected]> * docs: Apply suggestions from code review Co-authored-by: Kite <[email protected]> --------- Co-authored-by: Cursor <[email protected]> Co-authored-by: Kite <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
ocr review --helpand the OpenCode plugin still describe--max-toolsasmin 10, butvalidateReviewOptionsclamps positive values below 50 (raised in #808). Website CLI docs already document the 1–49 clamp.This only updates those leftover user-facing strings so they match the existing implementation. No behavior change.
Type of Change
How Has This Been Tested?
make testpasses locallyInspected
validateReviewOptions(minMaxTools = 50) andTestParseReviewFlags_MaxToolsBelowMin(--max-tools 30is clamped to 50). Fullgo test ./cmd/opencodereview/was not used as a gate: unrelated tests fail locally becausegit commitin temp repos hits GPG signing (No secret key).Checklist
go fmt,go vet)Related Issues
Not a duplicate of #935 / #936 (those cover raise-only vs lower-override semantics). This is leftover help text after #808 raised the floor from 10 to 50.
Made with Cursor