diff --git a/cli/cli.go b/cli/cli.go index 9d29b76..62beb3f 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -9,6 +9,7 @@ import ( "net/http" "net/url" "os" + "strconv" "strings" ) @@ -46,6 +47,7 @@ func (c *Profile) Run(ctx Context) error { q := req.URL.Query() if c.Time > 0 { + q.Add("seconds", strconv.Itoa(c.Time)) } req.URL.RawQuery = q.Encode()