Skip to content

Commit 4ff3b2b

Browse files
authored
misc: correct CLI help typo for cypress open --global (#30532)
* misc: correct CLI help typo for cypress open --global * move changelog entry to correct version
1 parent c33ff6a commit 4ff3b2b

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

cli/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
_Released 11/5/2024 (PENDING)_
55

6+
**Misc:**
7+
8+
- Fixed a typo in CLI `global` option help text. Addresses [#30531](https://github.com/cypress-io/cypress/issues/30531).
9+
610
**Dependency Updates:**
711

812
- Updated `@cypress/request` from `3.0.4` to `3.0.6`. Addressed in [#30488](https://github.com/cypress-io/cypress/pull/30488).

cli/__snapshots__/cli_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ exports['shows help for open --foo 1'] = `
3333
multiple values with a comma. overrides any
3434
value in cypress.config.{js,ts,mjs,cjs} or
3535
cypress.env.json
36-
--global force Cypress into global mode as if its
36+
--global force Cypress into global mode as if it were
3737
globally installed
3838
-p, --port <port> runs Cypress on a specific port. overrides
3939
any value in cypress.config.{js,ts,mjs,cjs}.

cli/lib/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const descriptions = {
110110
env: 'sets environment variables. separate multiple values with a comma. overrides any value in cypress.config.{js,ts,mjs,cjs} or cypress.env.json',
111111
exit: 'keep the browser open after tests finish',
112112
forceInstall: 'force install the Cypress binary',
113-
global: 'force Cypress into global mode as if its globally installed',
113+
global: 'force Cypress into global mode as if it were globally installed',
114114
group: 'a named group for recorded runs in Cypress Cloud',
115115
headed: 'displays the browser instead of running headlessly',
116116
headless: 'hide the browser instead of running headed (default for cypress run)',

0 commit comments

Comments
 (0)