Make location types a wee bit more understandable in case I forget about this for a year.
This commit is contained in:
parent
16c4a93651
commit
1515d8db52
@ -96,13 +96,13 @@
|
|||||||
function_wttr: |
|
function_wttr: |
|
||||||
function weather() {
|
function weather() {
|
||||||
if [[ "$1" == "-"* ]]; then
|
if [[ "$1" == "-"* ]]; then
|
||||||
echo "USAGE: weather [location]
|
echo 'USAGE: weather [location]
|
||||||
Any '-' paramaters call the usage since it does not take any options.
|
Any "-" paramaters call the usage since it does not take any options.
|
||||||
Useful location types:
|
Useful location types:
|
||||||
zip_code
|
$zip_code
|
||||||
city,state
|
$city,$state
|
||||||
@domain.com
|
@$domain_dot_extension
|
||||||
Full documentation: https://github.com/chubin/wttr.in"
|
Full documentation: https://github.com/chubin/wttr.in'
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
curl https://wttr.in/$1
|
curl https://wttr.in/$1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user