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

--output doesn't work in pulsarctl token command #593

Open
sijie opened this issue Feb 14, 2022 · 1 comment
Open

--output doesn't work in pulsarctl token command #593

sijie opened this issue Feb 14, 2022 · 1 comment

Comments

@sijie
Copy link
Member

sijie commented Feb 14, 2022

Problem

--output has been listed in the examples of pulsarctl token command, but there is no option --output. See the following error:

$ pulsarctl token create-secret-key --output my-secret.key
Error: unknown flag: --output 

Usage: pulsarctl token create-secret-key [flags]

Examples:
    #Create a secret key.
    pulsarctl token create-secret-key

    #Create a base64 encoded secret key.
    pulsarctl token create-secret-key --base64

    #Create a secret key and save it to a file.
    pulsarctl token create-secret-key --output (file path)

Solution

The help message should be fixed. Because there is no option --output, the right option is --output-file.

@nodece
Copy link
Contributor

nodece commented Feb 16, 2022

I submitted ##608 to fix this, could you review this?

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