From 87cec42cc3d6f083a447ce79490b95fea68eda7a Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Fri, 19 Jul 2024 08:17:49 -0400 Subject: [PATCH] fix: flag --- flags.go | 2 +- main.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flags.go b/flags.go index a72ed65..71ff171 100644 --- a/flags.go +++ b/flags.go @@ -61,7 +61,7 @@ var Pagesize = altsrc.NewUint64Flag(&cli.Uint64Flag{ }) var Forward = altsrc.NewBoolFlag(&cli.BoolFlag{ - Name: "Pagination Order", + Name: "forward", Usage: "Indicates if the entries will be traversed in ascending order (true) or descending order (false)", Destination: &options.Forward, Value: false, diff --git a/main.go b/main.go index fefa7cf..53f84c9 100644 --- a/main.go +++ b/main.go @@ -64,6 +64,7 @@ func main() { EndTime, Hashes, Pagesize, + Forward, Storenode, UseLegacy, Timeout,