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

rpk: show help for incorrect number or invalid arguments #300

Closed
rkruze opened this issue Dec 17, 2020 · 1 comment
Closed

rpk: show help for incorrect number or invalid arguments #300

rkruze opened this issue Dec 17, 2020 · 1 comment
Assignees
Labels
area/rpk good first issue Good for newcomers kind/enhance New feature or request

Comments

@rkruze
Copy link
Contributor

rkruze commented Dec 17, 2020

When you run something like rpk container start -x, you get the following:

rpk container start -x
Error: unknown shorthand flag: 'x' in -x

another example:

rpk api topic create
Error: accepts 1 arg(s), received 0

We should print out the help message for the given command.

@rkruze rkruze added kind/enhance New feature or request area/rpk labels Dec 17, 2020
@0x5d 0x5d added the good first issue Good for newcomers label Dec 21, 2020
@dotnwat dotnwat changed the title rpk: help should be shown when wrong number of arguments or incorrect flags are specified rpk: show help for incorrect number or invalid arguments Jul 2, 2021
@dotnwat dotnwat assigned twmb and 0x5d Jul 2, 2021
@r-vasquez
Copy link
Contributor

Created #3733 to discuss about a possible approach to solve part of this issue, feedback will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk good first issue Good for newcomers kind/enhance New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants