zsh:weather: --typo
authorBernhard Tittelbach <bernhard@tittelbach.org>
Thu, 22 Dec 2011 23:03:25 +0000 (00:03 +0100)
committerBernhard Tittelbach <bernhard@tittelbach.org>
Thu, 22 Dec 2011 23:03:25 +0000 (00:03 +0100)
usr_share_grml/zsh/functions/weather

index 44a87e1..b89e597 100644 (file)
@@ -3,7 +3,7 @@
 
 emulate -L zsh
 
-if [[ -n "$1" ]]; then
+if [[ -z "$1" ]]; then
     print 'Usage: weather <station_id>'
     print \
   'List of stations: http://en.wikipedia.org/wiki/List_of_airports_by_ICAO_code'