Skip to content

Commit

Permalink
feat: simplify country mock docs (#4822)
Browse files Browse the repository at this point in the history
* feat: simplify country mock docs

* chore: update contributors field

Co-authored-by: Daniel Tschinder <231804+danez@users.noreply.github.com>
Co-authored-by: eduardoboucas <eduardoboucas@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Jul 19, 2022
1 parent 65913b4 commit c766d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ netlify dev
**Flags**

- `command` (*string*) - command to run
- `country` (*string*) - Two-letter country code (ISO 3166-1 alpha-2, https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) to use as mock geolocation (enables --geo=mock automatically)
- `country` (*string*) - Two-letter country code (https://ntl.fyi/country-codes) to use as mock geolocation (enables --geo=mock automatically)
- `dir` (*string*) - dir with static files
- `edgeInspect` (*string*) - enable the V8 Inspector Protocol for Edge Functions, with an optional address in the host:port format
- `edgeInspectBrk` (*string*) - enable the V8 Inspector Protocol for Edge Functions and pause execution on the first line of code, with an optional address in the host:port format
Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ const createDevCommand = (program) => {
.addOption(
new Option(
'--country <geoCountry>',
'Two-letter country code (ISO 3166-1 alpha-2, https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) to use as mock geolocation (enables --geo=mock automatically)',
'Two-letter country code (https://ntl.fyi/country-codes) to use as mock geolocation (enables --geo=mock automatically)',
).argParser(validateGeoCountryCode),
)
.addOption(
Expand Down

1 comment on commit c766d51

@github-actions
Copy link

Choose a reason for hiding this comment

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

📊 Benchmark results

Package size: 221 MB

Please sign in to comment.