Skip to content

Commit

Permalink
hotfix counter app typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelrozanski committed Aug 31, 2017
1 parent c9d2fa5 commit 9ca7ad2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/guide/counter/cmd/countercli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ the Cosmos SDK to work for any custom ABCI app, see:
}

func main() {
commands.AddBasicFlags(BaseCli)
commands.AddBasicFlags(CounterCli)

// Prepare queries
query.RootCmd.AddCommand(
Expand Down Expand Up @@ -69,7 +69,7 @@ func main() {
)

// Set up the various commands to use
BaseCli.AddCommand(
CounterCli.AddCommand(
commands.InitCmd,
commands.ResetCmd,
commands.VersionCmd,
Expand All @@ -80,6 +80,6 @@ func main() {
proxy.RootCmd,
)

cmd := cli.PrepareMainCmd(BaseCli, "CTL", os.ExpandEnv("$HOME/.countercli"))
cmd := cli.PrepareMainCmd(CounterCli, "CTL", os.ExpandEnv("$HOME/.countercli"))
cmd.Execute()
}

0 comments on commit 9ca7ad2

Please sign in to comment.