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

rosa edit addon --help throws an error if addon id is not provided #1835

Open
rnetser opened this issue Mar 12, 2024 · 2 comments
Open

rosa edit addon --help throws an error if addon id is not provided #1835

rnetser opened this issue Mar 12, 2024 · 2 comments

Comments

@rnetser
Copy link

rnetser commented Mar 12, 2024

As a user, I would expect the command to not throw an error when the --help flag is provided.

❯ rosa edit addon  --help
Error: Expected exactly one command line parameter containing the id of the add-on. Error: ID argument not found in list of arguments passed to command
Usage:
  rosa edit addon ID [flags]

Aliases:
  addon, addons, add-on, add-ons

Examples:
  # Edit the parameters of the Red Hat OpenShift logging operator add-on installation
  rosa edit addon --cluster=mycluster cluster-logging-operator

Flags:
  -c, --cluster string   Name or ID of the cluster.
  -h, --help             help for addon

Global Flags:
      --color string     Surround certain characters with escape sequences to display them in color on the terminal. Allowed options are [auto never always] (default "auto")
      --debug            Enable debug mode.
  -i, --interactive      Enable interactive mode.
      --profile string   Use a specific AWS profile from your credential file.
      --region string    Use a specific AWS region, overriding the AWS_REGION environment variable.
  -y, --yes              Automatically answer yes to confirm operation.

Failed to execute root command: Expected exactly one command line parameter containing the id of the add-on. Error: ID argument not found in list of arguments passed to command

❯ rosa version
1.2.36
@thomasmckay
Copy link
Contributor

Thanks @rnetser , created https://issues.redhat.com/browse/OCM-6646

@thomasmckay
Copy link
Contributor

#1839

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

No branches or pull requests

2 participants