commit c75fad9e5d4b114d8df9be619d92886e696126d3
parent 6ffc529e538c42cc2a33d6602c7a84ac8a1399b5
Author: Sean Enck <sean@ttypty.com>
Date: Sun, 16 Jan 2022 16:52:54 -0500
remove 'expires' term
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/lb-totp/main.go b/cmd/lb-totp/main.go
@@ -117,7 +117,7 @@ func display(token string, clip, once, short bool) error {
startColor = redStart
endColor = redEnd
}
- expires := fmt.Sprintf("%s%s, expires: %2d (seconds)%s", startColor, now.Format("15:04:05"), left, endColor)
+ expires := fmt.Sprintf("%s%s: %2d (seconds)%s", startColor, now.Format("15:04:05"), left, endColor)
outputs := []string{expires}
if !clip {
outputs = append(outputs, fmt.Sprintf("%s\n %s", tok, code))