Skip to content

Commit

Permalink
Update binary name in help text
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanfrey committed Jul 27, 2020
1 parent 5f48074 commit cd9ae04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions cmd/wasmcli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import (
"os"
"path"

"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/keys"
Expand All @@ -17,8 +20,6 @@ import (
authrest "github.com/cosmos/cosmos-sdk/x/auth/client/rest"
"github.com/cosmos/cosmos-sdk/x/bank"
bankcmd "github.com/cosmos/cosmos-sdk/x/bank/client/cli"
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/tendermint/go-amino"
"github.com/tendermint/tendermint/libs/cli"
Expand All @@ -45,8 +46,8 @@ func main() {
// with the cdc

rootCmd := &cobra.Command{
Use: "wasmcli",
Short: "Command line interface for interacting with wasmd",
Use: version.ClientName,
Short: "Command line interface for interacting with " + version.ServerName,
}

// Add --chain-id to persistent flags and mark it required
Expand Down
3 changes: 2 additions & 1 deletion cmd/wasmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main

import (
"encoding/json"
"github.com/cosmos/cosmos-sdk/version"
"io"

"github.com/CosmWasm/wasmd/app"
Expand Down Expand Up @@ -40,7 +41,7 @@ func main() {
ctx := server.NewDefaultContext()
cobra.EnableCommandSorting = false
rootCmd := &cobra.Command{
Use: "wasmd",
Use: version.ServerName,
Short: "Wasm Daemon (server) with wasm gov proposals disabled\",",
PersistentPreRunE: server.PersistentPreRunEFn(ctx),
}
Expand Down

0 comments on commit cd9ae04

Please sign in to comment.