Skip to content

Format error message for invalid options of flags #687

@rkpattnaik780

Description

@rkpattnaik780

Description

Version: 0.24.3

For invalid output format, the error message is printed as:

Error: invalid value "output" for --js, valid options are: '"json", "yml", "yaml"

Steps to reproduce

  1. Run the following command:
./rhoas kafka consumergroup describe --id 277383 --output js

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions