We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068d8f2 commit 42ebfc8Copy full SHA for 42ebfc8
cmd/flags.go
@@ -19,7 +19,7 @@ const (
19
)
20
21
func heightFlag(cmd *cobra.Command) *cobra.Command {
22
- cmd.Flags().Int64(flags.FlagHeight, 0, "Height of headers to fetch")
+ cmd.Flags().Uint64(flags.FlagHeight, 0, "Height of headers to fetch")
23
if err := viper.BindPFlag(flags.FlagHeight, cmd.Flags().Lookup(flags.FlagHeight)); err != nil {
24
panic(err)
25
}
0 commit comments