-
Notifications
You must be signed in to change notification settings - Fork 717
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
support "unknown command" for tx and query commands #310
Comments
ahh found another issue with
I'd add a edit: this doesn't work if the user does --flag=flagVal |
Nice catch! Shouldn't this issue exist under the SDK? |
The first part I believe would be changed here and under tx cmd. The second comment should exist under the sdk, but I posted it here since I had just opened up a related issue |
Add validation to the usage of the tx and query commands. Closes: #310
Summary of Bug
Misuse of
gaiacli tx
andgaiacli query
provide uninformative error reports as first reported in the sdkVersion
v2.0.6
Steps to Reproduce
gaiacli tx distr --from blabla
ERROR: unknown flag: --from
*because distr should be distribution
This can be fixed by adding
to each command, alternatively I'm still tracking this pr which should fix some of these issues natively in cobra.
For Admin Use
The text was updated successfully, but these errors were encountered: