Skip to content

Add anchors to both long and short option names #21

@joostas

Description

@joostas

Hi,

Currently generated HTML content adds one anchor to option description.
I.e for option -O --remote-name it generates this output:

<p class="level0"><a name="-O"></a><span class="nroffip">-O, --remote-name</span>
</p>

Would be nice if tool could include anchors for both option versions:

<p class="level0"><a name="-O"></a><a name="--remote-name"></a><span class="nroffip">-O, --remote-name</span>
</p>

It would improve searchability on site.
Both links
https://curl.haxx.se/docs/manpage.html#-O
https://curl.haxx.se/docs/manpage.html#--remote-name
would directly show needed information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions