diff options
author | Kordian Bruck <k@bruck.me> | 2023-06-04 18:37:35 +0200 |
---|---|---|
committer | Kordian Bruck <k@bruck.me> | 2023-06-04 18:37:35 +0200 |
commit | d5fc7432ee39021328e637a703dfa2bb73c8ec10 (patch) | |
tree | 613d27eb27b742febfd54244dd4d114b5cd981c2 | |
parent | bd38b5ed9901a5124645c50ee7a33ee1b0ce279a (diff) |
Remove references to obsolete forecast.io backend2.2
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | main.go | 4 |
2 files changed, 3 insertions, 5 deletions
@@ -63,9 +63,7 @@ go install github.com/schachmat/wego@latest and next few days for your chosen location. 0. If you're visiting someone in e.g. London over the weekend, just run `wego 4 London` or `wego London 4` (the ordering of arguments makes no difference) to - get the forecast for the current and the next 3 days. Unfortunately that does - not currently work with the forecast.io backend, as it only supports - latitude,longitude location specification. + get the forecast for the current and the next 3 days. You can set the `$WEGORC` environment variable to override the default config file location. @@ -48,8 +48,8 @@ func main() { flag.IntVar(numdays, "d", 3, "`NUMBER` of days of weather forecast to be displayed (shorthand)") unitSystem := flag.String("units", "metric", "`UNITSYSTEM` to use for output.\n \tChoices are: metric, imperial, si, metric-ms") flag.StringVar(unitSystem, "u", "metric", "`UNITSYSTEM` to use for output. (shorthand)\n \tChoices are: metric, imperial, si, metric-ms") - selectedBackend := flag.String("backend", "forecast.io", "`BACKEND` to be used") - flag.StringVar(selectedBackend, "b", "forecast.io", "`BACKEND` to be used (shorthand)") + selectedBackend := flag.String("backend", "openweathermap", "`BACKEND` to be used") + flag.StringVar(selectedBackend, "b", "openweathermap", "`BACKEND` to be used (shorthand)") selectedFrontend := flag.String("frontend", "ascii-art-table", "`FRONTEND` to be used") flag.StringVar(selectedFrontend, "f", "ascii-art-table", "`FRONTEND` to be used (shorthand)") |