From a9edb73192660992d0a6b52be935db84f3759f82 Mon Sep 17 00:00:00 2001 From: Asa Venton Date: Sun, 20 Oct 2019 13:53:06 +0100 Subject: Adjust usage to reflect IRC commandname --- livetimes.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livetimes.sh b/livetimes.sh index aa6af60..6dfcfb5 100755 --- a/livetimes.sh +++ b/livetimes.sh @@ -53,12 +53,12 @@ _stopsreturn() { } if [ "$stop" == "-h" ] || [ "$stop" == "--help" ]; then - echo "Usage: '!livetimes ' where is either the 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." + echo "Usage: '!bus ' where is either the 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." exit 0 elif [[ "$stop" =~ ^-?[0-9]+$ ]] && [ $(echo ${#stop} == 4) ]; then _liveresult elif [[ -z "${stop// }" ]]; then - echo "Input empty. Usage: '!livetimes ' where is either the 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." + echo "Input empty. Usage: '!bus ' where is either the 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." exit 1 else _stopsreturn -- cgit v1.2.3