doc: Fix overfull hboxes errors that cause PDF build to return fail
* overfull hboxes cause texi2dvi to return fail, even if the PDf is written.
We hacked around this by running it with '... || true', but that
sucks for buildboting the docs.
Fix all the overfull hboxes.
* ospfd.texi: Long command definitions can cause hbox overruns in the
columnar command definitions index. This leads to strange errors
about "Missing number, treated as zero." when building the index -
very hard to figure out.
'show ip ospf database ...' was the culprit. Use a distinct deffnx
alias for each option instead of trying to stuff them into 1 line.
diff --git a/doc/ospfd.texi b/doc/ospfd.texi
index 1cc7973..d60ecf2 100644
--- a/doc/ospfd.texi
+++ b/doc/ospfd.texi
@@ -613,14 +613,16 @@
@end deffn
@deffn {Command} {show ip ospf database} {}
-@end deffn
-
-@deffn {Command} {show ip ospf database (asbr-summary|external|network|router|summary)} {}
-@deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id}} {}
-@deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id} adv-router @var{adv-router}} {}
-@deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) adv-router @var{adv-router}} {}
-@deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) @var{link-state-id} self-originate} {}
-@deffnx {Command} {show ip ospf database (asbr-summary|external|network|router|summary) self-originate} {}
+@deffnx {Command} {show ip ospf database asbr-summary} {}
+@deffnx {Command} {show ip ospf database external} {}
+@deffnx {Command} {show ip ospf database network} {}
+@deffnx {Command} {show ip ospf database asbr-router} {}
+@deffnx {Command} {show ip ospf database summary} {}
+@deffnx {Command} {show ip ospf database @dots{} @var{link-state-id}} {}
+@deffnx {Command} {show ip ospf database @dots{} @var{link-state-id} adv-router @var{adv-router}} {}
+@deffnx {Command} {show ip ospf database @dots{} adv-router @var{adv-router}} {}
+@deffnx {Command} {show ip ospf database @dots{} @var{link-state-id} self-originate} {}
+@deffnx {Command} {show ip ospf database @dots{} self-originate} {}
@end deffn
@deffn {Command} {show ip ospf database max-age} {}