aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-04-19 15:50:32 +0200
committerMattias Andrée <maandree@kth.se>2016-04-19 15:50:32 +0200
commitfd140684346fde8f496c07363e7b1bb0acd1fcb9 (patch)
tree0907f93c3c258c78c8ed49745e1fcaafca82c623
parentadd code, deps + update readme (diff)
downloadmetar-fd140684346fde8f496c07363e7b1bb0acd1fcb9.tar.gz
metar-fd140684346fde8f496c07363e7b1bb0acd1fcb9.tar.bz2
metar-fd140684346fde8f496c07363e7b1bb0acd1fcb9.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rwxr-xr-xmetar2
1 files changed, 1 insertions, 1 deletions
diff --git a/metar b/metar
index ed3527d..b9c68c8 100755
--- a/metar
+++ b/metar
@@ -80,7 +80,7 @@ EOF
if test $# = 1 && test "$1" = "get"; then
curl -s "http://weather.noaa.gov/pub/data/observations/metar/decoded/$(get_station).TXT" || exit 1
elif test $# = 1 && test "$1" = "print"; then
- get-station
+ get_station
elif test $# = 2 && test "$1" = "set"; then
echo "$2" > ~/.config/metar
elif test $# = 1 && test "$1" = "list"; then