Skip to content

Commit 6421921

Browse files
author
Mostafa Kamal
committed
getreact
1 parent 93bc668 commit 6421921

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cli/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,8 @@ const args = yargs
509509
},
510510
})
511511
.command({
512-
command: '--version',
513-
aliases: ['-v'],
512+
command: 'version',
513+
aliases: ['v'],
514514
desc: 'Show getreact version',
515515
handler() {
516516
console.log(pkg.version);

cli/usage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Show help / all options
2828
${chalk.white.bgRed('getreact help')}
2929
3030
Show the current version / check for latest version:
31-
${chalk.white.bgRed('getreact --version')}
31+
${chalk.white.bgRed('getreact version')}
3232
3333
3434
================================================================================

0 commit comments

Comments
 (0)