summaryrefslogtreecommitdiffstats
path: root/man/os-release.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-12-14 12:52:03 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-12-15 14:27:28 +0100
commit73e97bb064387579e9af390cc52221892e319f90 (patch)
tree095cde97188ff552f16c00be6462592b23a8aa22 /man/os-release.xml
parentman/tmpfiles: update summary (diff)
downloadsystemd-73e97bb064387579e9af390cc52221892e319f90.tar.xz
systemd-73e97bb064387579e9af390cc52221892e319f90.zip
man: use <simplelist> for file lists in synopsis
With <para><filename>…</filename></para>, we get a separate "paragraph" for each line, i.e. entries separated by empty lines. This uses up a lot of space and was only done because docbook makes it hard to insert a newline. In some other places, <literallayout> was used, but then we cannot indent the source text (because the whitespace would end up in the final page). We can get the desired result with <simplelist>. With <simplelist> the items are indented in roff output, but not in html output. In some places this looks better then no indentation, and in others it would probably be better to have no indent. But this is a minor issue and we cannot control that. (I didn't convert all spots. There's a bunch of other man pages which have two lines, e.g. an executable and service file, and it doesn't matter there so much.)
Diffstat (limited to 'man/os-release.xml')
-rw-r--r--man/os-release.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/man/os-release.xml b/man/os-release.xml
index f2e0f3ecb7..79de2451bf 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -22,10 +22,12 @@
</refnamediv>
<refsynopsisdiv>
- <para><filename>/etc/os-release</filename></para>
- <para><filename>/usr/lib/os-release</filename></para>
- <para><filename>/etc/initrd-release</filename></para>
- <para><filename>/usr/lib/extension-release.d/extension-release.<replaceable>IMAGE</replaceable></filename></para>
+ <para><simplelist>
+ <member><filename>/etc/os-release</filename></member>
+ <member><filename>/usr/lib/os-release</filename></member>
+ <member><filename>/etc/initrd-release</filename></member>
+ <member><filename>/usr/lib/extension-release.d/extension-release.<replaceable>IMAGE</replaceable></filename></member>
+ </simplelist></para>
</refsynopsisdiv>
<refsect1>