Skip to content

Commit d5fc743

Browse files
committed
Remove references to obsolete forecast.io backend
1 parent bd38b5e commit d5fc743

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ go install github.com/schachmat/wego@latest
6363
and next few days for your chosen location.
6464
0. If you're visiting someone in e.g. London over the weekend, just run `wego 4
6565
London` or `wego London 4` (the ordering of arguments makes no difference) to
66-
get the forecast for the current and the next 3 days. Unfortunately that does
67-
not currently work with the forecast.io backend, as it only supports
68-
latitude,longitude location specification.
66+
get the forecast for the current and the next 3 days.
6967
7068
You can set the `$WEGORC` environment variable to override the default config
7169
file location.

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ func main() {
4848
flag.IntVar(numdays, "d", 3, "`NUMBER` of days of weather forecast to be displayed (shorthand)")
4949
unitSystem := flag.String("units", "metric", "`UNITSYSTEM` to use for output.\n \tChoices are: metric, imperial, si, metric-ms")
5050
flag.StringVar(unitSystem, "u", "metric", "`UNITSYSTEM` to use for output. (shorthand)\n \tChoices are: metric, imperial, si, metric-ms")
51-
selectedBackend := flag.String("backend", "forecast.io", "`BACKEND` to be used")
52-
flag.StringVar(selectedBackend, "b", "forecast.io", "`BACKEND` to be used (shorthand)")
51+
selectedBackend := flag.String("backend", "openweathermap", "`BACKEND` to be used")
52+
flag.StringVar(selectedBackend, "b", "openweathermap", "`BACKEND` to be used (shorthand)")
5353
selectedFrontend := flag.String("frontend", "ascii-art-table", "`FRONTEND` to be used")
5454
flag.StringVar(selectedFrontend, "f", "ascii-art-table", "`FRONTEND` to be used (shorthand)")
5555

0 commit comments

Comments
 (0)