Why is asciidoc giving the error "manpage document title is mandatory"?

337 Views Asked by At

When trying to generate a man page with asciidoc, like this:

a2x -v -f manpage  foobar.1.txt

I get the error manpage document title is mandatory. How do I fix this?

1

There are 1 best solutions below

0
On BEST ANSWER

The line of =s under the man page title at the top of the file has to be of the same length as the line above it. This will cause the error:

FOO-BAR-QUUX(1)
========

This will fix it:

FOO-BAR-QUUX(1)
===============