Skip to content

docs: clarify CLI option help and parallel errors#6167

Open
Hashim1999164 wants to merge 1 commit into
mochajs:mainfrom
Hashim1999164:docs/clarify-cli-option-help-text-6165
Open

docs: clarify CLI option help and parallel errors#6167
Hashim1999164 wants to merge 1 commit into
mochajs:mainfrom
Hashim1999164:docs/clarify-cli-option-help-text-6165

Conversation

@Hashim1999164

@Hashim1999164 Hashim1999164 commented Jul 22, 2026

Copy link
Copy Markdown

Overview

Clarifies Mocha CLI help text and shortens --parallel conflict errors per #6165.

Checklist

Summary

  • Clarify --pass-on-failing-test-suite and --global help text wording
  • Shorten --parallel conflict errors with --file / --sort
  • Keep the CLI docs help excerpt in sync

Test plan

  • Confirm mocha --help shows the updated descriptions
  • Confirm --parallel --file and --parallel --sort still error with the shorter messages
  • Existing parallel integration tests still match /mutually exclusive with --file|sort/

@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

👋 Hi @Hashim1999164, thanks for the pull request! A scan flagged a concern with it. Could you please take a look?

[pr-task-completion] This PR's body is missing [x] checks on the following tasks from the PR template.

Repositories often provide a set of tasks that pull request authors are expected to complete. Those tasks should be marked as completed with a [x] in the pull request description. Please complete those tasks and mark the checks as [x] completed.

🗺️ This message was posted automatically by OctoGuide: a bot for GitHub repository best practices.

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: Update options output (help, errors)

1 participant