Imported from archive.

* Release 1.1.

* weather: Switched to "#!/usr/bin/env python" instead for
portability.

* weather.1, weather.5, weather.py: Implemented the --omit-forecast
option to cancel --forecast.

* weather.py: Calling with undefined aliases now throws an error and
exits. Aliases, options and default overrides operate more
logically. Upped the version to 1.1.

* weatherrc: Added 214 standard aliases.
This commit is contained in:
Jeremy Stanley
2006-04-18 04:33:21 +00:00
parent 155d8574df
commit b755668b64
8 changed files with 1317 additions and 48 deletions

View File

@@ -1,4 +1,6 @@
.TH WEATHERRC 5 "March 26, 2006"
.TH WEATHERRC 5 "March 26, 2006" "" \" -*- nroff -*-
\" Copyright (c) 2006 Jeremy Stanley <fungi@yuggoth.org>, all rights reserved.
\" Licensed per terms in the LICENSE file distributed with this software.
.SH NAME
weatherrc \- configuration file format for the
.BR weather (1)
@@ -7,9 +9,9 @@ utility
The weatherrc file format is intended to specify a set of macros
by which to group a METAR station ID for current conditions data with a
city/state combination for a forecast, but many of the other
command\-line options/flags for the weather utility can be specified as
well. The file is organized as an INI-format config, with the alias name
in [] brackets and the associated parameter/value pairs on following
command\-line options and flags for the weather utility can be specified
as well. The file is organized as an INI-format config, with the alias
name in [] brackets and the associated parameter/value pairs on following
lines. Parameters and their values as separated by = or : characters.
Multi-word values do not need quoting.
.SH PARAMETERS