Skip to content

Commit

Permalink
docs(x/genutil): fix genesis migrate command examples (backport #22090
Browse files Browse the repository at this point in the history
) (#22097)

Co-authored-by: tutufen <tutufen@outlook.com>
  • Loading branch information
mergify[bot] and tutufen authored Oct 3, 2024
1 parent d3ee514 commit b57ce4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/genutil/client/cli/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func MigrateGenesisCmd(migrations types.MigrationMap) *cobra.Command {
Use: "migrate [target-version] [genesis-file]",
Short: "Migrate genesis to a specified target version",
Long: "Migrate the source genesis into the target version and print to STDOUT",
Example: fmt.Sprintf("%s migrate v0.47 /path/to/genesis.json --chain-id=cosmoshub-3 --genesis-time=2019-04-22T17:00:00Z", version.AppName),
Example: fmt.Sprintf("%s genesis migrate v0.47 /path/to/genesis.json --chain-id=cosmoshub-3 --genesis-time=2019-04-22T17:00:00Z", version.AppName),
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
return MigrateHandler(cmd, args, migrations)
Expand Down

0 comments on commit b57ce4d

Please sign in to comment.