Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant "default: yaml" in --help command #75

Closed
azgabur opened this issue May 7, 2024 · 0 comments · Fixed by #80
Closed

Redundant "default: yaml" in --help command #75

azgabur opened this issue May 7, 2024 · 0 comments · Fixed by #80
Assignees

Comments

@azgabur
Copy link
Contributor

azgabur commented May 7, 2024

There is redundant "default: yaml" information when --help flag is used.

For all generating commands:

  • kuadrantctl generate gatewayapi httproute --help
  • kuadrantctl generate kuadrant authpolicy --help
  • kuadrantctl generate kuadrant ratelimitpolicy --help

Output:

...
Flags:
  -h, --help                   help for ratelimitpolicy
      --oas string             Path to OpenAPI spec file (in JSON or YAML format), URL, or '-' to read from standard input (required)
  -o, --output-format string   Output format: 'yaml' or 'json'. Default: yaml (default "yaml")
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants