autoprogram icon indicating copy to clipboard operation
autoprogram copied to clipboard

Indents in multiline strings get rendered in manpage

Open JOJ0 opened this issue 4 years ago • 0 comments

Hi I just realised that #21 or at least something similiar appears to be still an issue in generated manpages. Not sure if it is related at all, just sounds familiar....didn't dig into any code.

eg

    search_subparser.add_argument(
        dest='release_search', metavar='search_terms',
        help="""
        The collection is searched for these terms. When offline, it
        searches through all releases' artists/titles only (eg tracknames
        not considered). When online, the Discogs API search
        ...
        """

produces in the manpage:

 positional arguments
       search_terms
              The collection is searched for these terms. When offline, it
                      searches through all releasesa artists/titles only (eg tracknames
                      not considered). When online, the Discogs API search
                      ...
.ft P
.fi
.UNINDENT
.UNINDENT
.SS positional arguments
.INDENT 0.0
.TP
.B search_terms
The collection is searched for these terms. When offline, it
        searches through all releases’ artists/titles only (eg tracknames
        not considered). When online, the Discogs API search
        ...

JOJ0 avatar Feb 21 '21 19:02 JOJ0