Skip to content

Commit

Permalink
chore: improve desc of --version option in init command (react-na…
Browse files Browse the repository at this point in the history
…tive-community#1205)

* Update index.ts

* Update commands.md
  • Loading branch information
grabbou authored Jun 19, 2020
1 parent b7778db commit f68f848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Initialize a new React Native project named <projectName> in a directory of the

#### `--version [string]`

Uses a valid semver version of React Native as a template.
Shortcut for `--template react-native@version`.

#### `--directory [string]`

Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/init/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
options: [
{
name: '--version [string]',
description: 'Uses a valid semver version of React Native as a template',
description: 'Shortcut for `--template react-native@version`',
},
{
name: '--template [string]',
Expand Down

0 comments on commit f68f848

Please sign in to comment.