ansiweather

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

commit c5d33c97a47573ebe4c0e778a25368438106c51e
parent 2a9995cfa67b85409d9fb83e2adaaa21251bdf01
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 23 Aug 2021 23:01:23 +0200

Merge pull request #136 from drewx0r/master

changed flag for heat index from -h to -H
Diffstat:
MREADME.md | 6+++---
Mansiweather | 4++--
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -42,7 +42,7 @@ AnsiWeather packages are available for: ### Synopsis ansiweather [-F] [-l location] [-u system] [-f days] [-a value] - [-s value] [-k key] [-i value] [-h value] [-w value] + [-s value] [-k key] [-i value] [-H value] [-w value] [-h value] [-p value] [-d value] [-v] ### Options @@ -69,8 +69,8 @@ AnsiWeather packages are available for: -i value Toggle UV Index display ( true or false ) - -h value - Toggle Feels Like display ( true or false ) + -H value + Toggle Feels like display ( true or false ) -w value Toggle wind data display ( true or false ) diff --git a/ansiweather b/ansiweather @@ -50,7 +50,7 @@ fetch_cmd=$(get_config "fetch_cmd" || echo "curl -sf") ###[ Parse the command line ]################################################## # Get config options from command line flags -while getopts l:u:f:Fh:a:s:k:i:w:h:p:d:v option +while getopts l:u:f:FH:a:s:k:i:w:h:p:d:v option do case "${option}" in @@ -58,7 +58,7 @@ do u) units=${OPTARG};; f) forecast=${OPTARG};; F) forecast="5";; - h) show_feels_like=${OPTARG};; + H) show_feels_like=${OPTARG};; a) ansi=${OPTARG};; s) symbols=${OPTARG};; k) api_key=${OPTARG};;