Skip to content

docs: fix --nocolor CLI flag in documentation#1858

Merged
coliff merged 2 commits intomainfrom
copilot/update-htmlhint-docs-nocolor
Apr 20, 2026
Merged

docs: fix --nocolor CLI flag in documentation#1858
coliff merged 2 commits intomainfrom
copilot/update-htmlhint-docs-nocolor

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

The CLI docs referenced --color, --no-color but the actual CLI only exposes --nocolor (no hyphen, disable-only).

Changes

  • website/src/content/docs/usage/cli.md: Replace --color, --no-color heading with --nocolor; update description from "Force enabling/disabling of color" to "Disable color in the output" to accurately reflect the flag's behavior

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 20, 2026

Deploying htmlhint with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6401618
Status: ✅  Deploy successful!
Preview URL: https://6e224452.htmlhint.pages.dev
Branch Preview URL: https://copilot-update-htmlhint-docs.htmlhint.pages.dev

View logs

Copilot AI changed the title [WIP] Update HTMLHint documentation to use --nocolor docs: fix --nocolor CLI flag in documentation Apr 20, 2026
Copilot AI requested a review from coliff April 20, 2026 01:36
@coliff coliff marked this pull request as ready for review April 20, 2026 01:41
Copilot AI review requested due to automatic review settings April 20, 2026 01:41
@coliff coliff merged commit e4840fb into main Apr 20, 2026
18 checks passed
@coliff coliff deleted the copilot/update-htmlhint-docs-nocolor branch April 20, 2026 01:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates CLI documentation to accurately describe the --nocolor flag that exists in the actual CLI implementation.

Changes:

  • Replace the incorrect --color, --no-color docs heading with --nocolor
  • Update the option description to reflect disable-only behavior (“Disable color in the output.”)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The HTMLHint doc shown --no-color but CLI is --nocolor

3 participants