From 9ca7ad2c327378c43808933b77b911636e5d95e3 Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Thu, 31 Aug 2017 17:23:39 -0400 Subject: [PATCH] hotfix counter app typo --- docs/guide/counter/cmd/countercli/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/counter/cmd/countercli/main.go b/docs/guide/counter/cmd/countercli/main.go index 4bd49b99d7..f3a4821f97 100644 --- a/docs/guide/counter/cmd/countercli/main.go +++ b/docs/guide/counter/cmd/countercli/main.go @@ -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( @@ -69,7 +69,7 @@ func main() { ) // Set up the various commands to use - BaseCli.AddCommand( + CounterCli.AddCommand( commands.InitCmd, commands.ResetCmd, commands.VersionCmd, @@ -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() }