aboutsummaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-26 09:06:10 -0700
committerBen Pfaff <blp@nicira.com>2011-05-26 09:06:10 -0700
commitc182a514d4720b1caf45e048bb6a84106b20ba7b (patch)
treedd854916eea7841b84576200a2c3ca68f09dcd99 /ovsdb
parente7b3e606b2f6054bc20518d64100ae501b3e6ef3 (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-xovsdb/ovsdb-doc.in3
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"