more friendly message for argument validation #1276
Labels
kind/feature
A feature request for cobra; new or enhanced behavior
lifecycle/needs-pr
Ready for a PR from the community
triage/needs-info
Needs more investigation from maintainers or more info from the issue provider
Rather than just saying "unknown command ..." it's more informative to say "command accepts no arguments ...". Ref Code: https://github.com/helm/helm/blob/master/cmd/helm/require/args.go#L24
Showing the usage will also be good for user experience.
Ref Issue: helm/helm#8993
The text was updated successfully, but these errors were encountered: