Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong grammar in help for CLI cypress open --global #30531

Closed
MikeMcC399 opened this issue Nov 4, 2024 · 2 comments · Fixed by #30532
Closed

Wrong grammar in help for CLI cypress open --global #30531

MikeMcC399 opened this issue Nov 4, 2024 · 2 comments · Fixed by #30532

Comments

@MikeMcC399
Copy link
Contributor

Current behavior

The help text for the CLI option --global displays as

force Cypress into global mode as if its globally installed

Desired behavior

The text should be grammatically correct, for instance by writing

force Cypress into global mode as if it is globally installed

or

force Cypress into global mode as if it were globally installed

See also CLI documentation cypress open --global

Test code to reproduce

npx cypress open -h

Cypress Version

13.15.1

Node version

v22.11.0

Operating System

Ubuntu 24.04.1 LTS

Debug Logs

$ npx cypress open -h
Usage: cypress open [options]

Opens Cypress in the interactive GUI.

Options:
  -b, --browser <browser-path>     runs Cypress in the browser with the given name. if a filesystem path is supplied, Cypress will attempt to use the browser at that path.
  --component                      runs component tests
  -c, --config <config>            sets configuration values. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs}.
  -C, --config-file <config-file>  path to script file where configuration values are set. defaults to "cypress.config.{js,ts,mjs,cjs}".
  -d, --detached [bool]            runs Cypress application in detached mode
  --e2e                            runs end to end tests
  -e, --env <env>                  sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json
  --global                         force Cypress into global mode as if its globally installed
  -p, --port <port>                runs Cypress on a specific port. overrides any value in cypress.config.{js,ts,mjs,cjs}.
  -P, --project <project-path>     path to the project
  --dev                            runs cypress in development and bypasses binary check
  -h, --help                       display help for command

Other

No response

@MikeMcC399
Copy link
Contributor Author

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 5, 2024

Released in 13.15.2.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.15.2, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Nov 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant