Skip to content

Commit f540cb8

Browse files
committed
refactor: change -v to --v and docs
1 parent 08afdae commit f540cb8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/usage.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The AsyncAPI CLI makes it easier to work with AsyncAPI documents.
2626
$ npm install -g @asyncapi/cli
2727
$ asyncapi COMMAND
2828
running command...
29-
$ asyncapi (--version)
30-
@asyncapi/cli/2.14.1 linux-x64 node-v18.20.5
29+
$ asyncapi (--version | --v)
30+
@asyncapi/cli/2.16.1 linux-x64 node-v18.20.5
3131
$ asyncapi --help [COMMAND]
3232
USAGE
3333
$ asyncapi COMMAND

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"oclif": {
106106
"commands": "./lib/commands",
107107
"bin": "asyncapi",
108-
"additionalVersionFlags": ["-v"],
108+
"additionalVersionFlags": ["--v"],
109109
"hooks": {
110110
"command_not_found": [
111111
"./lib/hooks/command_not_found/myhook"

0 commit comments

Comments
 (0)