diff options
author | Ben Pfaff <blp@nicira.com> | 2012-03-09 14:37:31 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-03-19 10:25:22 -0700 |
commit | c233d1b2ba095afe88fc3b763dabfec9dfbfcf0d (patch) | |
tree | dcb86695c6f3938b37a67ac1dc4b7c29c6be63d7 /ovsdb | |
parent | 4fe0f600d7f283afab68f4c32800fab89e86aaef (diff) |
ovsdb-doc: Put NAME section into generated manpage.
This makes the manpage indexable by standard system tools.
Found by lintian.
Reported-by: Thomas Goirand <zigo@debian.org>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb')
-rwxr-xr-x | ovsdb/ovsdb-doc.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 53292b33..8e0e1718 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -270,9 +270,9 @@ def docsToNroff(schemaFile, xmlFile, erFile, title=None): . I "\\$1" . RE .. -''' % (title, d.strftime("%B %Y")) - - s += '.SH "%s DATABASE"\n' % schema.name +.SH NAME +%s \- %s database schema +''' % (title, d.strftime("%B %Y"), textToNroff(title), schema.name) tables = "" introNodes = [] |