aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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