lockbox

password manager
Log | Files | Refs | README | LICENSE

commit 544a33d753d91e40ec760ffbf71efa216269b272
parent c75fad9e5d4b114d8df9be619d92886e696126d3
Author: Sean Enck <sean@ttypty.com>
Date:   Sun, 16 Jan 2022 16:54:13 -0500

changing display a bit

Diffstat:
Mcmd/lb-totp/main.go | 2+-
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: %2d (seconds)%s", startColor, now.Format("15:04:05"), left, endColor) + expires := fmt.Sprintf("%s%s (%2d)%s", startColor, now.Format("15:04:05"), left, endColor) outputs := []string{expires} if !clip { outputs = append(outputs, fmt.Sprintf("%s\n %s", tok, code))