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 weather() {
|
||||
if [[ "$1" == "-"* ]]; then
|
||||
echo "USAGE: weather [location]
|
||||
Any '-' paramaters call the usage since it does not take any options.
|
||||
echo 'USAGE: weather [location]
|
||||
Any "-" paramaters call the usage since it does not take any options.
|
||||
Useful location types:
|
||||
zip_code
|
||||
city,state
|
||||
@domain.com
|
||||
Full documentation: https://github.com/chubin/wttr.in"
|
||||
$zip_code
|
||||
$city,$state
|
||||
@$domain_dot_extension
|
||||
Full documentation: https://github.com/chubin/wttr.in'
|
||||
return
|
||||
fi
|
||||
curl https://wttr.in/$1
|
||||
|
Loading…
x
Reference in New Issue
Block a user