remove unused flags from cmd prompt

This commit is contained in:
fkneeland
2021-10-14 16:38:13 -06:00
parent 6a471a4a16
commit 193f517739
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ type GenesisMutator interface {
// that is executed on block 0.
func GenesisStoreCodeCmd(defaultNodeHome string, genesisMutator GenesisMutator) *cobra.Command {
cmd := &cobra.Command{
Use: "store [wasm file] --source [source] --builder [builder] --run-as [owner_address_or_key_name]\",",
Use: "store [wasm file] --run-as [owner_address_or_key_name]\",",
Short: "Upload a wasm binary",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {

View File

@@ -15,7 +15,7 @@ import (
func ProposalStoreCodeCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "wasm-store [wasm file] --source [source] --builder [builder] --title [text] --description [text] --run-as [address]",
Use: "wasm-store [wasm file] --title [text] --description [text] --run-as [address]",
Short: "Submit a wasm binary proposal",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {