Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize CLI wording #185

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions x/alliance/client/cli/gov.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

func CreateAlliance() *cobra.Command {
cmd := &cobra.Command{
Use: "create-alliance denom rewards-weight rewards-weight-min rewards-weight-max take-rate reward-change-rate reward-change-interval",
Use: "create-alliance denom reward-weight reward-weight-min reward-weight-max take-rate reward-change-rate reward-change-interval",
Args: cobra.ExactArgs(7),
Short: "Create an alliance with the specified parameters",
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -118,7 +118,7 @@ func CreateAlliance() *cobra.Command {

func UpdateAlliance() *cobra.Command {
cmd := &cobra.Command{
Use: "update-alliance denom rewards-weight take-rate reward-change-rate reward-change-interval",
Use: "update-alliance denom reward-weight take-rate reward-change-rate reward-change-interval",
Args: cobra.ExactArgs(5),
Short: "Update an alliance with the specified parameters",
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
4 changes: 2 additions & 2 deletions x/alliance/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func NewDelegateCmd() *cobra.Command {
Args: cobra.ExactArgs(2),
Short: "Delegate alliance enabled tokens to a validator",
Long: strings.TrimSpace(
fmt.Sprintf(`Delegate an amount of liquid alliance enabled coins to a validator from your wallet.
fmt.Sprintf(`Delegate an amount of liquid alliance-enabled coins to a validator from your wallet.

Example:
$ %s tx alliance delegate %s1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey
Expand Down Expand Up @@ -81,7 +81,7 @@ func NewRedelegateCmd() *cobra.Command {
Args: cobra.ExactArgs(3),
Short: "Re-delegate alliance enabled tokens from a validator to another",
Long: strings.TrimSpace(
fmt.Sprintf(`Re-delegate an amount of liquid alliance enabled coins from a validator to another from your wallet.
fmt.Sprintf(`Re-delegate an amount of liquid alliance-enabled coins from one validator to another from your wallet.

Example:
$ %s tx alliance redelegate %s1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm %ss1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey
Expand Down