Update binary name in help text

This commit is contained in:
Ethan Frey 2020-07-27 11:13:34 +02:00
parent 5f48074a8a
commit cd9ae0447b
2 changed files with 7 additions and 5 deletions

View File

@ -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"
@ -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"
@ -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

View File

@ -2,6 +2,7 @@ package main
import (
"encoding/json"
"github.com/cosmos/cosmos-sdk/version"
"io"
"github.com/CosmWasm/wasmd/app"
@ -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),
}