ansiweather

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

commit 15c11185f000706e1241cec6ff792820ca31d826
parent ff60387dfd6561be0647a3469bf52114dbf7326f
Author: Andrew Abdalian <drewx0r@gmail.com>
Date:   Mon, 23 Aug 2021 14:25:52 -0500

changed flag for heat index from -h to -H

`-h` was already used for humidity readings. Oops! Also fixed a cosmetic issue with my edits to the readme file. This might fix any remaining issues with #133.

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 @@ -52,7 +52,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 @@ -60,7 +60,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};;