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:41:36 +0000 (10:41 -0700)
commit3381a0e8766209ad3cc388a1e56b7778931b3805
treeee8305132bc205766b250a6be0470c88964b4864
parent8108cc58dee89da577e667c90f33b11b5ff36d5b
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