wttr: Trim example section. Add evil return code.

This commit is contained in:
Hyperling 2021-03-02 06:58:53 -06:00
parent ed16e4d4cf
commit ef5de65f1a

View File

@ -103,9 +103,9 @@
$zip_code | Ex: 12345 $zip_code | Ex: 12345
$city,$state | Ex: Austin,Texas $city,$state | Ex: Austin,Texas
@$domain_dot_extension | Ex: @github.com @$domain_dot_extension | Ex: @github.com
~$attraction_or_special_location | Ex: ~Manitou Incline ~$special_location | Ex: ~Manitou Incline
Full documentation: https://github.com/chubin/wttr.in' Full documentation: https://github.com/chubin/wttr.in'
return return 1
fi fi
curl "https://wttr.in/${1//\ /+}" curl "https://wttr.in/${1//\ /+}"
} }