From ef69b506c50ebac5c9db76ad5b5e16cc169e48d2 Mon Sep 17 00:00:00 2001 From: Mats Linander Date: Wed, 3 Jan 2024 14:58:55 -0500 Subject: [PATCH] cmd: minor formatting fix (#19) --- cmd/departures.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/departures.go b/cmd/departures.go index c2ca7f1..c815bf8 100644 --- a/cmd/departures.go +++ b/cmd/departures.go @@ -58,7 +58,7 @@ func departures(cmd *cobra.Command, args []string) error { for _, departure := range departures { delay := "" if departure.Delay != 0 { - delay = fmt.Sprintf("(%s)", departure.Delay) + delay = fmt.Sprintf(" (%s)", departure.Delay) } fmt.Printf( "%s%s - %s - %s\n",