]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: man: consistently format -X[OPTIONAL] form
authorPádraig Brady <P@draigBrady.com>
Wed, 1 Oct 2025 20:20:20 +0000 (21:20 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 2 Oct 2025 09:14:16 +0000 (10:14 +0100)
commit58ea3574e67dee147a4305c0dda99c80f4b9d10c
treea5cbadc3c2347dd8cb498ff479f8cec21cef6a1c
parent1cac40b6373fe414b2f75f2c93abccf990d2834b
doc: man: consistently format -X[OPTIONAL] form

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
  < \fB\-I[FMT]\fR, \fB\-\-iso\-8601\fR[=\fI\,FMT\/\fR]
  > \fB\-I\fR[\fI\,FMT\/\fR], \fB\-\-iso\-8601\fR[=\fI\,FMT\/\fR]

  diff -r man.orig/od.1 man/od.1
  < \fB\-w[BYTES]\fR, \fB\-\-width\fR[=\fI\,BYTES\/\fR]
  > \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).
man/help2man