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) {