]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: help2man: convert OSC hyperlinks
authorPádraig Brady <P@draigBrady.com>
Mon, 29 Dec 2025 20:58:30 +0000 (20:58 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 13:51:39 +0000 (13:51 +0000)
commite2fdbea10a4d662ddff90bad9605083e1cd63226
treeaea482f99dcd93ef48ad16f0f49a528ac1f7c989
parentd06a666429befbc8efad6f42bd1d8ae709be7f05
doc: help2man: convert OSC hyperlinks

* man/help2man: Convert OSC hyperlinks to roff \X escapes,
which will be converted back to OSC hyperlinks when
the man page is displayed on the terminal.
Note formatting is removed from hyperlinked text by default,
thus relying on how the terminal highlights hyperlinks,
but --bold-refs is honored in this case, in which hyperlinked
text will be marked up as bold, which matches the default
markup used for non hyperlinked options.
man/help2man