ansiweather

Weather in terminal, with ANSI colors and Unicode symbols
Log | Files | Refs | README | LICENSE

commit 13458961bff0694b8cea76526c7ffd138981764e
parent 343b65a2a4749c87ed1fcdb3477d51e5b0066c6d
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date:   Mon, 25 Nov 2013 15:45:53 +0100

Documentation update

Diffstat:
MREADME.md | 12+++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -30,14 +30,14 @@ After cloning the repository, simply invoke the script by typing : Any configuration options may also be passed in as command line options. - ./ansiweather -l Moscow -u metric -s true -f 5 + ./ansiweather -l Moscow,RU -u metric -s true -f 5 ## Configuration -The following configuration options are available and should be set according -to your location and preferences. +The following configuration options (detailed below) are available and should +be set according to your location and preferences. Config options can also be set in ~/.ansiweatherrc @@ -49,6 +49,12 @@ Example : `~/.ansiweatherrc` ### Location +Location format is `city,CC` where `CC` is a two-letter ISO 3166-1 alpha-2 +country code. A list of country codes is available [here](http://www.statdns.com/cctlds/). + +In case no location is specified, AnsiWeather will try to geolocate you +using [Telize](http://www.telize.com/). + Example : `Moscow,RU` location:Moscow,RU