diff --git a/README.md b/README.md index 53405bb..5c9dea9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/main.go b/main.go index 0441114..50ec775 100644 --- a/main.go +++ b/main.go @@ -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)")