Skip to content

Commit

Permalink
ovsdb-doc: Omit E-R diagram from ASCII version of manpage.
Browse files Browse the repository at this point in the history
The E-R diagram is illegible when rendered in ASCII, so exclude it from
that version only.  The E-R diagram is still included in other versions of
the manpage (e.g. for PostScript output).
blp committed May 26, 2011
1 parent e7b3e60 commit c182a51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ovsdb/ovsdb-doc.in
Original file line number Diff line number Diff line change
@@ -286,6 +286,7 @@ Table Purpose

if erFile:
s += """
.if !'\*[.T]'ascii' \{
.sp 1
.SH "TABLE RELATIONSHIPS"
.PP
@@ -303,7 +304,7 @@ represent strong references; thin lines represent weak references.
for line in erStream:
s += line + '\n'
erStream.close()
s += ".RE\n"
s += ".RE\\}\n"

for node in tableNodes:
s += tableToNroff(schema, node) + "\n"

0 comments on commit c182a51

Please sign in to comment.