mirror of https://github.com/certusone/wasmd.git
Update binary name in help text
This commit is contained in:
parent
5f48074a8a
commit
cd9ae0447b
|
@ -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
|
||||
|
|
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue