diff options
author | Asa Venton <asav1410@gmail.com> | 2019-10-20 13:53:06 +0100 |
---|---|---|
committer | Asa Venton <asav1410@gmail.com> | 2019-10-20 13:53:06 +0100 |
commit | a9edb73192660992d0a6b52be935db84f3759f82 (patch) | |
tree | 28cafef73e27862319c0ae403e8fa3114e4fab16 | |
parent | b23685d64631c39f72fb460153acfc31c8b9d6b7 (diff) |
Adjust usage to reflect IRC commandname
-rwxr-xr-x | livetimes.sh | 4 |
1 files 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 <stop>' where <stop> 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 <stop>' where <stop> 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 <stop>' where <stop> 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 <stop>' where <stop> 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 |