Skip to content

Commit

Permalink
Cli marker new example is incorrect (#427)
Browse files Browse the repository at this point in the history
* ignore *.ipr & *.iws files

* fix cli marker new example #415

* add changelog entry

* lint stuff

Co-authored-by: Ira Miller <[email protected]>
  • Loading branch information
egaxhaj and iramiller authored Aug 18, 2021
1 parent 2e92452 commit c0aa06e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ profile.iml
profile.ipr
profile.iws
/.datastore
.idea/
*.iml
.history/
*.ipr
*.iws

# Tools make target marker
tools-stamp
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* Add Marker module governance proposals, genesis, and marker operations to simulation testing [#94](https://github.com/provenance-io/provenance/issues/94)
* Fix an encoding issue with the `--page-key` CLI arguments used in paged queries [#332](https://github.com/provenance-io/provenance/issues/332)
* Fix handling of optional fields in Metadata Write messages [#412](https://github.com/provenance-io/provenance/issues/412)
* Fix cli marker new example is incorrect [#415](https://github.com/provenance-io/provenance/issues/415)

### Improvements

Expand Down
4 changes: 2 additions & 2 deletions x/marker/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ func GetCmdAddMarker() *cobra.Command {
with the given supply amount and denomination provided in the coin argument
Example:
$ %s tx marker new 1000hotdogcoin --%s=COIN --%s=false --%s=false --from=mykey
0`, FlagType, FlagSupplyFixed, FlagAllowGovernanceControl, version.AppName)),
$ %s tx marker new 1000hotdogcoin --%s=false --%s=false --from=mykey
`, FlagType, FlagSupplyFixed, FlagAllowGovernanceControl)),
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
Expand Down

0 comments on commit c0aa06e

Please sign in to comment.