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

nb options Shows Flags That Are Not Global #1044

Open
shirady opened this issue Feb 8, 2023 · 0 comments
Open

nb options Shows Flags That Are Not Global #1044

shirady opened this issue Feb 8, 2023 · 0 comments

Comments

@shirady
Copy link
Contributor

shirady commented Feb 8, 2023

Environment info

NooBaa Operator Version: 5.13.0
Platform: minikube 1.28.0

Actual behavior

  1. nb option shows flags that are not always global options.
    For example: --admission is relevant only for installing the operator (using nb install --admission).
    It should appear in the flag of the related command/commands.
    Note: This is just an example of a flag that I used from the list, I'm sure there are more examples (the list seems long).

Expected behavior

  1. nb option shows flags that are global options - as written:

"The following options can be passed to any command".

For example: -n , --namespace is a flag that I must use in every function, it is a global option.

Steps to reproduce

  1. After nb install run: nb options.

More information - Screenshots / Logs / Other output

Screenshot 2023-02-08 at 17 50 50

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

1 participant