Merge pull request #650 from fkneeland-figure/remove_unused_flags_from_cmd_prompt
Remove unused flags from cmd prompt
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased](https://github.com/CosmWasm/wasmd/tree/HEAD)
|
||||
|
||||
**Implemented Enhancements:**
|
||||
|
||||
- Remove unused flags from command prompt for storing contract [\#647](https://github.com/CosmWasm/wasmd/issues/647)
|
||||
|
||||
[Full Changelog](https://github.com/CosmWasm/wasmd/compare/v0.20.0...HEAD)
|
||||
|
||||
## [v0.20.0](https://github.com/CosmWasm/wasmd/tree/v0.20.0) (2021-10-08)
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user