You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gaiacli query distr comission --trust-node cosmos1234 returns the error ERROR: unknown flag: --trust-node which is misleading since the typo is from "commission". I believe it should lead to an error stating that comission is "unknown".
Version
cosmos-sdk: 0.34.3
git commit: 1127446f71fa6aeada1bce2718f7f903cc18e548
vendor hash: b0ee613acca9a3a572b558d0481ec7baa008f732431392af81db3555c92c8dd7
build tags: netgo ledger
go version go1.11.5 linux/amd64
cosmos@hgpu:~$ gaiacli version --long
cosmos-sdk: 0.34.3
git commit: 1127446f71fa6aeada1bce2718f7f903cc18e548
vendor hash: b0ee613acca9a3a572b558d0481ec7baa008f732431392af81db3555c92c8dd7
build tags: netgo ledger
go version go1.11.5 linux/amd64
Looks like we need to come up with some sort of custom validation. Docker does this but idk how. I don't think this is a huge priority and would love some external contribution for this.
Fixes#4284
Now prints:
gaiacli query distr comission --trust-node cosmos1234
ERROR: unknown command "comission" for "distr"
Did you mean this?
commission
Adds custom argument validation for subcommands with subcommands. Doesn't affect "query" or "tx" subcommands since they reside in gaia repo. All flags except help are disabled for these commands.
Summary of Bug
gaiacli query distr comission --trust-node cosmos1234
returns the errorERROR: unknown flag: --trust-node
which is misleading since the typo is from "commission". I believe it should lead to an error stating thatcomission
is "unknown".Version
Steps to Reproduce
gaiacli query distr comission --trust-node cosmos1234
For Admin Use
The text was updated successfully, but these errors were encountered: