aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-12-11 19:22:03 +0100
committerMattias Andrée <maandree@kth.se>2017-12-11 19:23:24 +0100
commit2a13aea07c32c7e2f29bd7a08dfbfb19451ad0a7 (patch)
tree830da86e6844190ad1460e030973b1c49fbb6547 /README
parentAllow lower case (diff)
downloadmetar-1.3.1.tar.gz
metar-1.3.1.tar.bz2
metar-1.3.1.tar.xz
Simplify makefile, change license, and don't use upcase for variables in usage and man page1.3.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'README')
-rw-r--r--README32
1 files changed, 16 insertions, 16 deletions
diff --git a/README b/README
index 99df5fe..31deb8c 100644
--- a/README
+++ b/README
@@ -2,11 +2,11 @@ NAME
metar - Trivial weather report
SYNOPSIS
- metar get
- metar print
- metar set STATION
- metar list [PREFIX]
- metar closest [LATITUDE LONGITUDE] [LIST]
+ metar 'get'
+ metar 'print'
+ metar 'set' station
+ metar 'list' [prefix]
+ metar 'closest' [latitude longitude] [list]
DESCRIPTION
metar is a simple utility for find whether stations (hence referred to
@@ -27,23 +27,23 @@ ACTIONS
(cat ~/.config/metar || cat /etc/metar) 2> /dev/null | head -n 1
- set STATION
- Stores the STATION as the METAR station from which weather
- reports shall be retrieved. STATION shall be the stations's
+ set station
+ Stores the station as the METAR station from which weather
+ reports shall be retrieved. station shall be the stations's
ICAO station identifier. This is equivalent to running
- echo STATION > ~/.config/metar
+ printf '%s\n' station > ~/.config/metar
- list [PREFIX]
+ list [prefix]
Print all METAR stations. This can take a very long time. You
are strongly encouraged to store the output to a file. For a,
not as good, list you can look at
http://www.aviationweather.gov/static/adds/metars/stations.txt
To speed up the listing process, you can filter the output
- by select the PREFIX of the ICAO station identifiers. If you
+ by select the prefix of the ICAO station identifiers. If you
look at the page with the URL above, you will find the prefix
- for your country. PREFIX may be a regular expression. These
+ for your country. prefix may be a regular expression. These
regular expressions are listed in
<https://github.com/maandree/metar/blob/master/prefixes>.
Note however, this list is not guaranteed to be up to date.
@@ -52,12 +52,12 @@ ACTIONS
name, country, ICAO station identifier, and location. The
ICAO station identifier is in parenthesis.
- closest [LATITUDE LONGITUDE] [LIST]
- Given a LATITUDE and LONGITUDE in decimal format, print the
+ closest [latitude longitude] [list]
+ Given a latitude and longitude in decimal format, print the
ICAO station identifier of the closest METAR station. If you
have already created a list of all stations using the action
- list, specify the filename of that list as the LIST argument.
- If LATITUDE and LONGITUDE are omitted, ~/.config/geolocation,
+ list, specify the filename of that list as the list argument.
+ If latitude and longitude are omitted, ~/.config/geolocation,
or /etc/geolocation, is used.
FILES