Skip to content

Commit 6a61d5d

Browse files
feat: add --version option (#2460)
1 parent dec33cb commit 6a61d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const pkgJson = require('../package.json');
1515

1616
const program = new CommanderCommand()
1717
.usage('[command] [options]')
18-
.version(pkgJson.version, '-v', 'Output the current version')
18+
.version(pkgJson.version, '-v --version', 'Output the current version')
1919
.enablePositionalOptions();
2020

2121
const handleError = (err: Error) => {

0 commit comments

Comments
 (0)