diff options
author | Ben Pfaff <blp@nicira.com> | 2011-05-26 09:06:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-05-26 09:06:10 -0700 |
commit | c182a514d4720b1caf45e048bb6a84106b20ba7b (patch) | |
tree | dd854916eea7841b84576200a2c3ca68f09dcd99 /ovsdb | |
parent | e7b3e606b2f6054bc20518d64100ae501b3e6ef3 (diff) |
ovsdb-doc: Omit E-R diagram from ASCII version of manpage.
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).
Diffstat (limited to 'ovsdb')
-rwxr-xr-x | ovsdb/ovsdb-doc.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 3c825d2a..2577e782 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -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" |