summaryrefslogtreecommitdiffstats
path: root/man/systemd.preset.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/systemd.preset.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/systemd.preset.xml')
-rw-r--r--man/systemd.preset.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/man/systemd.preset.xml b/man/systemd.preset.xml
index 5d46a88c3e..26e090ea2c 100644
--- a/man/systemd.preset.xml
+++ b/man/systemd.preset.xml
@@ -21,12 +21,14 @@
</refnamediv>
<refsynopsisdiv>
- <para><filename>/etc/systemd/system-preset/*.preset</filename></para>
- <para><filename>/run/systemd/system-preset/*.preset</filename></para>
- <para><filename>/usr/lib/systemd/system-preset/*.preset</filename></para>
- <para><filename>/etc/systemd/user-preset/*.preset</filename></para>
- <para><filename>/run/systemd/user-preset/*.preset</filename></para>
- <para><filename>/usr/lib/systemd/user-preset/*.preset</filename></para>
+ <para><simplelist>
+ <member><filename>/etc/systemd/system-preset/*.preset</filename></member>
+ <member><filename>/run/systemd/system-preset/*.preset</filename></member>
+ <member><filename>/usr/lib/systemd/system-preset/*.preset</filename></member>
+ <member><filename>/etc/systemd/user-preset/*.preset</filename></member>
+ <member><filename>/run/systemd/user-preset/*.preset</filename></member>
+ <member><filename>/usr/lib/systemd/user-preset/*.preset</filename></member>
+ </simplelist></para>
</refsynopsisdiv>
<refsect1>