fix(cmd/forecast): Add -i flag again
Fixes: https://todo.sr.ht/~timharek/yr/7 Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
This commit is contained in:
parent
14f46806cd
commit
858b336bcf
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue