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:56:43 +0000 (10:56 -0700)
commitea27b6f648a7d2cdb9fa37284b3f49671727ca13
tree31b9178c560197ff7c9fbc07a69af0a69c13d01d
parent436891b64a723053f7ddf9f921823280b91f8f83
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