Skip to content

Commit

Permalink
fix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed Sep 14, 2023
1 parent 317b35e commit c726d8a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cmd/celestia/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ var balanceForAddressCmd = &cobra.Command{
}

var transferCmd = &cobra.Command{
Use: "transfer [address, amount, fee, gasLimit]",
Use: "transfer [address] [amount] [fee] [gasLimit]",
Short: "Sends the given amount of coins from default wallet of the node to the given account address.",
Args: cobra.ExactArgs(4),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -174,7 +174,7 @@ var submitTxCmd = &cobra.Command{
}

var submitPFBCmd = &cobra.Command{
Use: "submit-pfb [namespace, data, fee, gasLim]",
Use: "submit-pfb [namespace] [data] [fee] [gasLim]",
Short: "Allows to submit PFBs",
Args: cobra.ExactArgs(4),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -208,7 +208,7 @@ var submitPFBCmd = &cobra.Command{
}

var cancelUnbondingDelegationCmd = &cobra.Command{
Use: "cancel-unbonding-delegation [address, amount, height, fee, gasLimit]",
Use: "cancel-unbonding-delegation [address] [amount] [height] [fee] [gasLimit]",
Short: "Cancels a user's pending undelegation from a validator.",
Args: cobra.ExactArgs(5),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -254,7 +254,7 @@ var cancelUnbondingDelegationCmd = &cobra.Command{
}

var beginRedelegateCmd = &cobra.Command{
Use: "begin-redelegate [srcAddress, dstAddress, amount, fee, gasLimit]",
Use: "begin-redelegate [srcAddress] [dstAddress] [amount] [fee] [gasLimit]",
Short: "Sends a user's delegated tokens to a new validator for redelegation",
Args: cobra.ExactArgs(5),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -299,7 +299,7 @@ var beginRedelegateCmd = &cobra.Command{
}

var undelegateCmd = &cobra.Command{
Use: "undelegate [valAddress, amount, fee, gasLimit]",
Use: "undelegate [valAddress] [amount] [fee] [gasLimit]",
Short: "Undelegates a user's delegated tokens, unbonding them from the current validator.",
Args: cobra.ExactArgs(4),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -337,7 +337,7 @@ var undelegateCmd = &cobra.Command{
}

var delegateCmd = &cobra.Command{
Use: "delegate [valAddress, amount, fee, gasLimit]",
Use: "delegate [valAddress] [amount] [fee] [gasLimit]",
Short: "Sends a user's liquid tokens to a validator for delegation.",
Args: cobra.ExactArgs(4),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down Expand Up @@ -420,7 +420,7 @@ var queryUnbondingCmd = &cobra.Command{
}

var queryRedelegationCmd = &cobra.Command{
Use: "get-redelegations [srcAddress, dstAddress]",
Use: "get-redelegations [srcAddress] [dstAddress]",
Short: "Retrieves the status of the redelegations between a delegator and a validator.",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit c726d8a

Please sign in to comment.