From d6eac15c00dd6a7e7c80471b7dc8f9e9cc310a83 Mon Sep 17 00:00:00 2001 From: Mats Linander Date: Wed, 3 Jan 2024 14:57:52 -0500 Subject: [PATCH] cmd: minor formatting fix --- 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",