mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 01:59:29 +02:00
Fixed last timestamp for beam loves not getting loaded
This commit is contained in:
parent
5755ccef01
commit
c21715d36b
1 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@ Scotty. If not, see <https://www.gnu.org/licenses/>.
|
||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"math"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"go.uploadedlobster.com/scotty/internal/backends"
|
"go.uploadedlobster.com/scotty/internal/backends"
|
||||||
"go.uploadedlobster.com/scotty/internal/cli"
|
"go.uploadedlobster.com/scotty/internal/cli"
|
||||||
|
@ -58,5 +60,5 @@ func init() {
|
||||||
// Cobra supports local flags which will only run when this command
|
// Cobra supports local flags which will only run when this command
|
||||||
// is called directly, e.g.:
|
// is called directly, e.g.:
|
||||||
// beamLovesCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
|
// 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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue