Skip to content

Commit

Permalink
Fixed docs for pretty command
Browse files Browse the repository at this point in the history
  • Loading branch information
SahilDahekar committed Dec 21, 2024
1 parent da64c63 commit 49ff105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ _See code: [src/commands/optimize.ts](https://github.com/asyncapi/cli/blob/v2.12

## `asyncapi pretty SPEC-FILE`

Format AsyncAPI specification file
Beautify the AsyncAPI spec file (indentation, styling) in place or output the formatted spec to a new file.

```
USAGE
Expand Down
2 changes: 1 addition & 1 deletion src/commands/pretty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ValidationError } from '../core/errors/validation-error';
import { prettyFlags } from '../core/flags/pretty.flags';

export default class Pretty extends Command {
static readonly description = 'Format AsyncAPI specification file';
static readonly description = 'Beautify the AsyncAPI spec file (indentation, styling) in place or output the formatted spec to a new file.';

static readonly examples = [
'asyncapi pretty ./asyncapi.yaml',
Expand Down

0 comments on commit 49ff105

Please sign in to comment.