}
var validateAddressCmd = &cobra.Command{
- Use: "validate-address",
+ Use: "validate-address <address>",
Short: "validate the account addresses",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
}
var getBlockHeaderByHashCmd = &cobra.Command{
- Use: "get-block-header-by-hash",
+ Use: "get-block-header-by-hash <hash>",
Short: "Get the header of a block matching the given hash",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
}
var getBlockTransactionsCountByHashCmd = &cobra.Command{
- Use: "get-block-transactions-count-by-hash",
+ Use: "get-block-transactions-count-by-hash <hash>",
Short: "Get the transactions count of a block matching the given hash",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
}
var getBlockTransactionsCountByHeightCmd = &cobra.Command{
- Use: "get-block-transactions-count-by-height",
+ Use: "get-block-transactions-count-by-height <height>",
Short: "Get the transactions count of a block matching the given height",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {