]> git.ipfire.org Git - thirdparty/util-linux.git/commit
terminal-colors.d: (man) do not show 'type' as an optional part
authorBenno Schulenberg <bensberg@telfort.nl>
Sun, 1 Mar 2026 16:45:05 +0000 (17:45 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Mar 2026 10:23:45 +0000 (11:23 +0100)
commit3252142521c6302e7a30c2a5a61838f19062b364
tree586e39c61ef89f5743a6ea339eb21d37681a9f5b
parentb9461aa1cb1aae9d4ee3056fabefe269b6f94018
terminal-colors.d: (man) do not show 'type' as an optional part

That is: remove the square brackets from around 'type' in the synopsis.

Also, do not give the impression that a leading dot by itself is fine
before the 'type'.  That is: a dot is required only when 'name' and/or
'@term' is present.

Also, do not colorize the square brackets as if they were part of the
placeholders.  (And use ++double plus++ passthroughs for the opening
square brackets, to prevent asciidoctor from misinterpreting them.)

Indent the list of file types, for clarity.

And correct or improve some wordings, and remove an inconvenient
blank line in an example.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
lib/terminal-colors.d.5.adoc