Skip to content

Conversation

@kanata9819
Copy link

This adds linkable headings for the option list in the generated man page.
Most options already work, but --hidden uses . as its short form (-.),
which prevents some man-to-HTML renderers from generating a stable anchor.
This change prefers the long option as the tag when the short option is not
ASCII alphanumeric, while preserving the usual short/long ordering for normal flags.

This addresses the request in #3243 to make option headings linkable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant