Merge pull request #650 from fkneeland-figure/remove_unused_flags_from_cmd_prompt

Remove unused flags from cmd prompt
This commit is contained in:
Ethan Frey
2021-10-15 14:54:34 +02:00
committed by GitHub
3 changed files with 6 additions and 2 deletions

View File

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

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 {