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

Improved feedback on mistyped subcommands #2026

Closed
mauvo opened this issue May 19, 2023 · 2 comments
Closed

Improved feedback on mistyped subcommands #2026

mauvo opened this issue May 19, 2023 · 2 comments
Milestone

Comments

@mauvo
Copy link
Contributor

mauvo commented May 19, 2023

Hi,

I've had some feedback via our support team that including the command name and the subcommand suggestions would be helpful. I'm not sure if this is the accepted convention in CLIs.

Anyway, here's a branch with updated tests and my attempt to fix the code for your consideration. https://github.com/mauvo/picocli/tree/subcommand-suggestions

Thanks,
David

@remkop
Copy link
Owner

remkop commented May 19, 2023

Looks good. Can you turn this into a pull request please?

@mauvo
Copy link
Contributor Author

mauvo commented May 19, 2023

Done - thank you.

@mauvo mauvo closed this as completed May 19, 2023
@remkop remkop added this to the 4.7.4 milestone May 21, 2023
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