From c21715d36b0f1399285e4dfff607bdd7cec2df32 Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Sat, 9 Dec 2023 22:42:04 +0100 Subject: [PATCH] Fixed last timestamp for beam loves not getting loaded --- cmd/beam_loves.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/beam_loves.go b/cmd/beam_loves.go index 9c2669a..19063db 100644 --- a/cmd/beam_loves.go +++ b/cmd/beam_loves.go @@ -17,6 +17,8 @@ Scotty. If not, see . package cmd import ( + "math" + "github.com/spf13/cobra" "go.uploadedlobster.com/scotty/internal/backends" "go.uploadedlobster.com/scotty/internal/cli" @@ -58,5 +60,5 @@ func init() { // Cobra supports local flags which will only run when this command // is called directly, e.g.: // beamLovesCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") - beamLovesCmd.Flags().Int64P("timestamp", "t", 0, "Only import loves newer then given Unix timestamp") + beamLovesCmd.Flags().Int64P("timestamp", "t", math.MinInt64, "Only import loves newer then given Unix timestamp") }