Add missing "whatis entry" to man pages
This is recommended by Debian. closes #618
This commit is contained in:
parent
690747dbf2
commit
ae06ae3384
64 changed files with 284 additions and 213 deletions
|
|
@ -28,7 +28,7 @@ __all__ = ['Boobooks']
|
|||
class RentedListFormatter(PrettyFormatter):
|
||||
MANDATORY_FIELDS = ('id', 'date', 'author', 'name', 'late')
|
||||
|
||||
RED = '[1;31m'
|
||||
RED = '[1;31m'
|
||||
|
||||
def get_title(self, obj):
|
||||
s = u'%s — %s (%s)' % (obj.author, obj.name, obj.date)
|
||||
|
|
@ -36,6 +36,7 @@ class RentedListFormatter(PrettyFormatter):
|
|||
s += u' %sLATE!%s' % (self.RED, self.NC)
|
||||
return s
|
||||
|
||||
|
||||
class Boobooks(ReplApplication):
|
||||
APPNAME = 'boobooks'
|
||||
VERSION = '0.f'
|
||||
|
|
@ -43,6 +44,7 @@ class Boobooks(ReplApplication):
|
|||
CAPS = ICapBook
|
||||
DESCRIPTION = "Console application allowing to list your books rented or booked at the library, " \
|
||||
"book and search new ones, get your booking history (if available)."
|
||||
SHORT_DESCRIPTION = "manage rented books"
|
||||
EXTRA_FORMATTERS = {'rented_list': RentedListFormatter,
|
||||
}
|
||||
DEFAULT_FORMATTER = 'table'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue