Skip to content

docs(cli-reference): add --no-filter flag to ocr review documentation #867

Description

@lizhengfeng101

Description

PR #835 (feat(cmd): add no-review cmd) added a --no-filter flag to ocr review that skips the REVIEW_FILTER_TASK post-processing phase. The code change has been merged, but the documentation site was not updated to reflect this new flag.

Currently missing from:

  1. CLI reference pages — the ocr review flags table does not list --no-filter
  2. i18n strings — the scanToggles key mentions --no-plan, --no-dedup, --no-summary but there is no equivalent entry for ocr review's --no-filter

For reference, the flag is defined in cmd/opencodereview/shared_flags.go and its help text reads:

// from shared_flags.go

The existing ocr scan stage toggles (--no-plan, --no-dedup, --no-summary) are documented — --no-filter for ocr review should follow the same pattern.

Scope

  • File(s):
    • pages/src/content/docs/en/cli-reference.md
    • pages/src/content/docs/zh/cli-reference.md
    • pages/src/content/docs/ja/cli-reference.md
    • pages/src/content/docs/ru/cli-reference.md
    • pages/src/i18n/en.ts
    • pages/src/i18n/zh.ts
    • pages/src/i18n/ja.ts
    • pages/src/i18n/ru.ts
  • Area: documentation site, CLI reference section

Acceptance Criteria

  • --no-filter is listed in the ocr review flags table in all 4 locale CLI reference pages (en, zh, ja, ru)
  • Description matches the actual flag behavior: skips the review-filter LLM call per file
  • i18n files include an appropriate key for the review stage toggle (or the existing scanToggles pattern is extended)
  • Docs site builds without errors (cd pages && npm run build)

Context

Discovered while reviewing #835 post-merge. The PR checklist noted "I have updated the documentation accordingly (if applicable)" as unchecked. Related PR: #835

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions