ovsdb-doc: Convert '-' preceding a number as a minus sign, not a hyphen.
authorBen Pfaff <blp@nicira.com>
Fri, 9 Mar 2012 22:50:39 +0000 (14:50 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 12 Mar 2012 17:13:37 +0000 (10:13 -0700)
commita03bd69a202d1da672dde4957b4bc4fc10e7cf09
tree3557fc139a0dbe05bbb5a40a1ff97eabec027749
parent9f88469c0cbc8fa13a97e7b5b7902566e730f72c
ovsdb-doc: Convert '-' preceding a number as a minus sign, not a hyphen.

ovs-vswitchd.conf.db.5 contains the following sentence:

   If the interface cannot be added then Open vSwitch sets this column
   to -1.

The '-' in "-1" should be a minus sign, not a hyphen, but the heuristic
in ovsdb-doc wasn't smart enough.  This commit improves the heuristic and
fixes the problem.

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>
ovsdb/ovsdb-doc.in