<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/man/help2man, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2026-01-22T12:45:13Z</updated>
<entry>
<title>doc: help2man: handle leading '+' in options</title>
<updated>2026-01-22T12:45:13Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-22T12:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=eaf38a24125a9996a91f3710758f22a74a4b34fb'/>
<id>urn:sha1:eaf38a24125a9996a91f3710758f22a74a4b34fb</id>
<content type='text'>
* man/help2man: Fix indentation of options with leading '+'.
</content>
</entry>
<entry>
<title>doc: help2man: account for undisplayed markup in indenting calculations</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-16T18:09:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5939e6770436618b8eda053aa06ff64798e2478e'/>
<id>urn:sha1:5939e6770436618b8eda053aa06ff64798e2478e</id>
<content type='text'>
* man/help2man: This is significant with the indented line
following the dd bs=BYTES "option" at least.
</content>
</entry>
<entry>
<title>doc: help2man: convert all hyperlinks, not just ones in --options</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-15T22:00:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ed91d9a21835ff3afcf3601b486f66662104448c'/>
<id>urn:sha1:ed91d9a21835ff3afcf3601b486f66662104448c</id>
<content type='text'>
* man/help2man: Make the (--?) part of the match optional.
Note we still extract the dashes, to support the existing
option matching logic in help2man.
</content>
</entry>
<entry>
<title>doc: help2man: support alternate format OSC hyperlinks</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-15T21:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f0705a83f6c6667f9b615e18c20ac24384f6f1a9'/>
<id>urn:sha1:f0705a83f6c6667f9b615e18c20ac24384f6f1a9</id>
<content type='text'>
* man/help2man: The BEL terminator format was already supported.
Add support for ESC + backslash terminator.  Also split out
and document the regular expression.
</content>
</entry>
<entry>
<title>doc: help2man: convert OSC hyperlinks</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-12-29T20:58:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=e2fdbea10a4d662ddff90bad9605083e1cd63226'/>
<id>urn:sha1:e2fdbea10a4d662ddff90bad9605083e1cd63226</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>doc: help2man: recognise option description with smaller indent</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-01-03T15:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d06a666429befbc8efad6f42bd1d8ae709be7f05'/>
<id>urn:sha1:d06a666429befbc8efad6f42bd1d8ae709be7f05</id>
<content type='text'>
* man/help2man: Allow for a smaller indented option description.
This smaller indentation is present in timeout --help output,
so now the line spacing in timeout.1 is more consistent.
Also having the description on a separate line with
a smaller indentation, is a more general way to present
option descriptions (and what the man page formatting uses already).
We'll be changing many utilities, especially with longer multi-line
descriptions to this new format.
</content>
</entry>
<entry>
<title>doc: help2man: strip ANSI codes</title>
<updated>2026-01-21T13:51:39Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-12-29T16:46:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5a21df35b0b6d265e9af352071d73acd84261a4b'/>
<id>urn:sha1:5a21df35b0b6d265e9af352071d73acd84261a4b</id>
<content type='text'>
* man/help2man: With these ANSI codes, output is corrupted,
so it's best to strip these, which allows --help to
outputting formatting and hyperlinks by default.
</content>
</entry>
<entry>
<title>maint: spelling fixes</title>
<updated>2026-01-16T21:22:28Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2026-01-16T21:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=23e696b0b2fa0be80ba4d544dc2efc6f7136856b'/>
<id>urn:sha1:23e696b0b2fa0be80ba4d544dc2efc6f7136856b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>doc: man: consistently format -X[OPTIONAL] form</title>
<updated>2025-10-02T09:14:16Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-10-01T20:20:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=58ea3574e67dee147a4305c0dda99c80f4b9d10c'/>
<id>urn:sha1:58ea3574e67dee147a4305c0dda99c80f4b9d10c</id>
<content type='text'>
This is significant for the date, od, and pr commands
which have options of the form -X[OPTIONAL], which change like:

  diff -r man.orig/date.1 man/date.1
  &lt; \fB\-I[FMT]\fR, \fB\-\-iso\-8601\fR[=\fI\,FMT\/\fR]
  &gt; \fB\-I\fR[\fI\,FMT\/\fR], \fB\-\-iso\-8601\fR[=\fI\,FMT\/\fR]

  diff -r man.orig/od.1 man/od.1
  &lt; \fB\-w[BYTES]\fR, \fB\-\-width\fR[=\fI\,BYTES\/\fR]
  &gt; \fB\-w\fR[\fI\,BYTES\/\fR], \fB\-\-width\fR[=\fI\,BYTES\/\fR]

* man/help2man (convert_options): Support options of the form
-X[PARAM], so that we now consistently format them (in italics).
</content>
</entry>
<entry>
<title>doc: man: consistently italicize --option parameters</title>
<updated>2025-10-02T09:13:53Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-10-01T17:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1cac40b6373fe414b2f75f2c93abccf990d2834b'/>
<id>urn:sha1:1cac40b6373fe414b2f75f2c93abccf990d2834b</id>
<content type='text'>
This changes a few pages, but the changes in tail.1
concisely illustrate the resulting man page changes:

  $ diff -r man.orig/tail.1 man/tail.1
  &lt; \fB\-c\fR, \fB\-\-bytes\fR=\fI\,[\/\fR+]NUM
  &gt; \fB\-c\fR, \fB\-\-bytes\fR=\fI\,[+]NUM\/\fR

  &lt; \fB\-f\fR, \fB\-\-follow[=\fR{name|descriptor}]
  &gt; \fB\-f\fR, \fB\-\-follow\fR[=\fI\,{name|descriptor}\/\fR]

  &lt; \fB\-n\fR, \fB\-\-lines\fR=\fI\,[\/\fR+]NUM
  &gt; \fB\-n\fR, \fB\-\-lines\fR=\fI\,[+]NUM\/\fR

* man/help2man: Relax the option match so more --option
variations are supported, and passed through to convert_option().
Specifically more variations after '=' are now supported.
Also split and document the regular expression.
Reported at https://github.com/coreutils/coreutils/issues/84
</content>
</entry>
</feed>
