Skip to content

Commit

Permalink
Addressed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bermuell committed Oct 13, 2023
1 parent a60d199 commit 2713327
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/consumer/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"os"
"path/filepath"
"strings"

"github.com/spf13/cobra"

Expand Down Expand Up @@ -109,10 +110,12 @@ func GetConsumerGenesisTransformCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "transform [genesis-file]",
Short: "Transform CCV consumer genesis from an older provider version not supporting current format",
Long: fmt.Sprintf(`Transform the consumer genesis file from a provider version v1,v2 or v3 to a version supported by this consumer. Result is printed to STDOUT.
Long: strings.TrimSpace(
fmt.Sprintf(`Transform the consumer genesis file from a provider version v1,v2 or v3 to a version supported by this consumer. Result is printed to STDOUT.
Example:
$ %s transform /path/to/ccv_consumer_genesis.json `, version.AppName),
$ %s transform /path/to/ccv_consumer_genesis.json`, version.AppName),
),
Args: cobra.ExactArgs(1),
RunE: TransformConsumerGenesis,
}
Expand Down

0 comments on commit 2713327

Please sign in to comment.