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, 19 Mar 2012 17:25:22 +0000 (10:25 -0700)
commit5955764c2794cab79d97705f7a67beefd8a61d02
tree79a261632b5e4e1e8af74f4fcef99c3e67fd401f
parentc233d1b2ba095afe88fc3b763dabfec9dfbfcf0d
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