From a88accaf91c45e4b0e2f0fc43abc452b1cc974c4 Mon Sep 17 00:00:00 2001 From: Asa Venton Date: Wed, 23 Oct 2019 18:57:10 +0100 Subject: Add ability to specify time when requesting next bus, convert short day to long day when nextbus outputs a bus on a day in the future --- livetimes.sh | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/livetimes.sh b/livetimes.sh index 624b2b3..34a7fd7 100755 --- a/livetimes.sh +++ b/livetimes.sh @@ -72,12 +72,14 @@ _rejectbusstation() { # function for now in case I need to reuse somewhere else... _help() { - echo "Usage: '!bus ' where is either the route number, 4 digit stop code, the full unique or partial bus stop name. If a bus stop name is used and there are multiple matches then a list of matching stops will be returned with their codes. -h --help - print this usage information." + echo ""$error"Usage: 'Usage: '!bus (