Describe the bug.
In @asyncapi/cli@3.1.1, the diff command help text shows that -o is used as a shorthand for both --output and --overrides.
Expected behavior
The -o flag should only map to one option, or both flags should have distinct shorthands.
Screenshots

How to Reproduce
- Run the help command:
- Observe:
-o, --output=<value> The output file name. Omitting this flag the result will be printed in the console.
-o, --overrides=<value> path to JSON file containing the override properties
- Run the diff command using -o intending to set the output file:
asyncapi diff asyncapi-1.yaml asyncapi-2.yaml -o output.yml
- Observe:
DiffOverrideJSONError: Provided override file is not a valid JSON file
🖥️ Device Information [optional]
AsyncAPI CLI: @asyncapi/cli@3.1.1
Node.js: v22.15.0
OS: Ubuntu 24.04
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
Describe the bug.
In @asyncapi/cli@3.1.1, the diff command help text shows that -o is used as a shorthand for both --output and --overrides.
Expected behavior
The -o flag should only map to one option, or both flags should have distinct shorthands.
Screenshots
How to Reproduce
🖥️ Device Information [optional]
AsyncAPI CLI: @asyncapi/cli@3.1.1
Node.js: v22.15.0
OS: Ubuntu 24.04
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None