gov/client: rename submitproposal to submit-proposal

It is standard in the sdk to use a dash for subcommands / flags
with multiple words. This makes submitproposal comply with that.
This commit is contained in:
ValarDragon
2018-07-05 22:22:50 -07:00
parent 0c47e6ffdf
commit 12c1eb4d31
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ func TestGaiaCLISubmitProposal(t *testing.T) {
fooAcc := executeGetAccount(t, fmt.Sprintf("gaiacli account %v %v", fooCech, flags))
require.Equal(t, int64(50), fooAcc.GetCoins().AmountOf("steak").Int64())
executeWrite(t, fmt.Sprintf("gaiacli gov submitproposal %v --proposer=%v --deposit=5steak --type=Text --title=Test --description=test --from=foo", flags, fooCech), pass)
executeWrite(t, fmt.Sprintf("gaiacli gov submit-proposal %v --proposer=%v --deposit=5steak --type=Text --title=Test --description=test --from=foo", flags, fooCech), pass)
tests.WaitForNextHeightTM(port)
fooAcc = executeGetAccount(t, fmt.Sprintf("gaiacli account %v %v", fooCech, flags))