Add missing "whatis entry" to man pages

This is recommended by Debian.
closes #618
This commit is contained in:
Laurent Bachelier 2013-02-13 00:38:33 +01:00
commit ae06ae3384
64 changed files with 284 additions and 213 deletions

View file

@ -27,6 +27,7 @@ import sys
__all__ = ['WetBoobs']
class ForecastsFormatter(IFormatter):
MANDATORY_FIELDS = ('id', 'date', 'low', 'high')
@ -38,6 +39,7 @@ class ForecastsFormatter(IFormatter):
result += ' %s' % obj.text
return result
class CurrentFormatter(IFormatter):
MANDATORY_FIELDS = ('id', 'date', 'temp')
@ -49,6 +51,7 @@ class CurrentFormatter(IFormatter):
result += u' - %s' % obj.text
return result
class CitiesFormatter(PrettyFormatter):
MANDATORY_FIELDS = ('id', 'name')
@ -60,7 +63,8 @@ class WetBoobs(ReplApplication):
APPNAME = 'wetboobs'
VERSION = '0.f'
COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon'
DESCRIPTION = 'Console application allowing to display weather and forecasts in your city.'
DESCRIPTION = "Console application allowing to display weather and forecasts in your city."
SHORT_DESCRIPTION = "display weather and forecasts"
CAPS = (ICapWeather, ICapGauge)
DEFAULT_FORMATTER = 'table'
EXTRA_FORMATTERS = {'cities': CitiesFormatter,