From 858b336bcff2903f23ae3f084e6d822ed6ab63cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20H=C3=A5rek=20Andreassen?= Date: Wed, 13 Nov 2024 19:26:59 +0100 Subject: [PATCH] fix(cmd/forecast): Add -i flag again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://todo.sr.ht/~timharek/yr/7 Signed-off-by: Tim HĂ„rek Andreassen --- cmd/forecast.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/forecast.go b/cmd/forecast.go index 9d629d3..28af1d7 100644 --- a/cmd/forecast.go +++ b/cmd/forecast.go @@ -21,7 +21,7 @@ var ( func init() { rootCmd.AddCommand(forecastCmd) - rootCmd.Flags().IntVarP(&interval, "interval", "i", 0, "Number of hours to output") + forecastCmd.Flags().IntVarP(&interval, "interval", "i", 0, "Number of hours to output") } func forecast(cmd *cobra.Command, args []string) {