We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93bc668 commit 6421921Copy full SHA for 6421921
2 files changed
cli/index.js
@@ -509,8 +509,8 @@ const args = yargs
509
},
510
})
511
.command({
512
- command: '--version',
513
- aliases: ['-v'],
+ command: 'version',
+ aliases: ['v'],
514
desc: 'Show getreact version',
515
handler() {
516
console.log(pkg.version);
cli/usage.js
@@ -28,7 +28,7 @@ Show help / all options
28
${chalk.white.bgRed('getreact help')}
29
30
Show the current version / check for latest version:
31
-${chalk.white.bgRed('getreact --version')}
+${chalk.white.bgRed('getreact version')}
32
33
34
================================================================================
0 commit comments