X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fovsdb-doc.in;h=43dda5e0665ef8ecbeff26b047829c1240be26dc;hb=5bee6e2638989aff14429c5a85fa7cef196f2106;hp=2577e782b9be57ad322508e6bd336b1dcd5e8ff6;hpb=c182a514d4720b1caf45e048bb6a84106b20ba7b;p=openvswitch diff --git a/ovsdb/ovsdb-doc.in b/ovsdb/ovsdb-doc.in index 2577e782..43dda5e0 100755 --- a/ovsdb/ovsdb-doc.in +++ b/ovsdb/ovsdb-doc.in @@ -52,6 +52,8 @@ def inlineXmlToNroff(node, font): s = r'\fB' if node.hasAttribute('column'): s += node.attributes['column'].nodeValue + if node.hasAttribute('key'): + s += ':' + node.attributes['key'].nodeValue elif node.hasAttribute('table'): s += node.attributes['table'].nodeValue elif node.hasAttribute('group'): @@ -136,6 +138,8 @@ def typeAndConstraintsToNroff(column): constraints = column.type.constraintsToEnglish(escapeNroffLiteral) if constraints: type += ", " + constraints + if column.unique: + type += " (must be unique within table)" return type def columnToNroff(columnName, column, node):