Skip to content

Commit 369e4b6

Browse files
committed
updated the help message
Signed-off-by: Gourav <gourav.saini.phe22@iitbhu.ac.in>
1 parent 4b73ebd commit 369e4b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ DESCRIPTION
586586
EXAMPLES
587587
$ asyncapi new - start creation of a file in interactive mode
588588
589-
$ asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty - create a new file with a specific name, using one of the examples and without interactive mode
589+
$ asyncapi new --file-name=my-asyncapi.yaml --example=default-example.yaml --no-tty - create a new file with a specific name, using one of the examples and without interactive mode
590590
```
591591

592592
_See code: [src/commands/new/index.ts](https://github.com/asyncapi/cli/blob/v2.14.1/src/commands/new/index.ts)_

src/commands/new/file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class NewFile extends Command {
3737

3838
static examples = [
3939
'asyncapi new\t - start creation of a file in interactive mode',
40-
'asyncapi new --file-name=my-asyncapi.yml --example=default-example.yml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode'
40+
'asyncapi new --file-name=my-asyncapi.yaml --example=default-example.yaml --no-tty\t - create a new file with a specific name, using one of the examples and without interactive mode'
4141
];
4242

4343
async run() {

0 commit comments

Comments
 (0)