diff --git a/docs/departures.md b/docs/departures.md index 113c942a..86ebf9a0 100644 --- a/docs/departures.md +++ b/docs/departures.md @@ -27,6 +27,7 @@ With `opt`, you can override the default options, which look like this: when: new Date(), direction: null, // only show departures heading to this station duration: 10, // show departures for the next n minutes + results: null, // max. number of results; `null` means "whatever HAFAS wants" linesOfStops: false, // parse & expose lines at the stop/station? remarks: true, // parse & expose hints & warnings? stopovers: false, // fetch & parse previous/next stopovers? diff --git a/index.js b/index.js index 96f36e7d..50408473 100644 --- a/index.js +++ b/index.js @@ -51,7 +51,7 @@ const createClient = (profile, userAgent, opt = {}) => { // todo: for arrivals(), this is actually a station it *has already* stopped by direction: null, // only show departures stopping by this station duration: 10, // show departures for the next n minutes - results: 50, // max. number of results – `null` means "whatever HAFAS wants" + results: null, // max. number of results; `null` means "whatever HAFAS wants" linesOfStops: false, // parse & expose lines at the stop/station? remarks: true, // parse & expose hints & warnings? stopovers: false, // fetch & parse previous/next stopovers?