remove unused flags from cmd prompt
This commit is contained in:
@@ -44,7 +44,7 @@ type GenesisMutator interface {
|
|||||||
// that is executed on block 0.
|
// that is executed on block 0.
|
||||||
func GenesisStoreCodeCmd(defaultNodeHome string, genesisMutator GenesisMutator) *cobra.Command {
|
func GenesisStoreCodeCmd(defaultNodeHome string, genesisMutator GenesisMutator) *cobra.Command {
|
||||||
cmd := &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",
|
Short: "Upload a wasm binary",
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import (
|
|||||||
|
|
||||||
func ProposalStoreCodeCmd() *cobra.Command {
|
func ProposalStoreCodeCmd() *cobra.Command {
|
||||||
cmd := &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",
|
Short: "Submit a wasm binary proposal",
|
||||||
Args: cobra.ExactArgs(1),
|
Args: cobra.ExactArgs(1),
|
||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user