Skip to content

docs: correct per-command flags and add diff-scope - #160

Closed
Sakibpedia wants to merge 1 commit into
TMHSDigital:mainfrom
Sakibpedia:fix/config-flag-list
Closed

Sakibpedia wants to merge 1 commit into
TMHSDigital:mainfrom
Sakibpedia:fix/config-flag-list

Conversation

@Sakibpedia

Copy link
Copy Markdown

Fixes #152 — #152

  • Replaced the incorrect all but ... wording: bench and debug also refuse the scan-only flags (--baseline, --ref, --since, --changed, --staged, --resume, --dry-run, --diff-scope). Listed each command's own flags explicitly.
  • Added the missing baseline command with --config, --out (file or -) and --reason.
  • Documented --diff-scope file|lines next to the diff flags.

Verified against the registerGroups calls in internal/cli/*.go. Docs-only. AI-assisted: I checked each flag registration before editing.

@Sakibpedia

Copy link
Copy Markdown
Author

Closing as superseded. Upstream main has since merged the same changes (#150 for the offline --pr refusal, and #152-#156 for the documentation corrections), which is why these PR branches now conflict. No action needed from maintainers.

@Sakibpedia Sakibpedia closed this Nov 28, 2026
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.

docs/config.md per-command flag list is wrong for bench and debug

1 participant