Skip to content

Commit

Permalink
correct autogenerated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Mar 28, 2024
1 parent b07fb80 commit 844d763
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions cmd/sequencer/getBalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,10 @@ import (

// getBalanceCmd represents the getBalance command
var getBalanceCmd = &cobra.Command{
Use: "get-balance",
Use: "get-balance [address]",
Short: "Retrieves and prints the balance of an account.",
Long: `Use this command to retrieve and print the balance of an account.
Usage: astria-cli-go sequencer get-balance <address> --url <url>`,
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
Run: runGetBalance,
Args: cobra.MatchAll(cobra.ExactArgs(1), cobra.OnlyValidArgs),
Run: runGetBalance,
}

const DefaultSequencerURL = "http://127.0.0.1:26657"
Expand Down

0 comments on commit 844d763

Please sign in to comment.