chore: adjust cmd usage

Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
This commit is contained in:
Lorenz Herzberger 2024-06-04 09:36:15 +02:00
parent 68d2ff899f
commit 1699323af7
No known key found for this signature in database
GPG Key ID: FA5EE906EB55316A

View File

@ -14,7 +14,7 @@ var _ = strconv.Itoa(0)
func CmdGetByAddress() *cobra.Command { func CmdGetByAddress() *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "address [address] [lookup-period-in-min]", Use: "address [address] [num-elements]",
Short: "Query for assets by address", Short: "Query for assets by address",
Args: cobra.ExactArgs(2), Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) (err error) { RunE: func(cmd *cobra.Command, args []string) (err error) {