diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-12-14 12:52:03 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2023-12-15 14:27:28 +0100 |
commit | 73e97bb064387579e9af390cc52221892e319f90 (patch) | |
tree | 095cde97188ff552f16c00be6462592b23a8aa22 /man/systemd.environment-generator.xml | |
parent | man/tmpfiles: update summary (diff) | |
download | systemd-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.environment-generator.xml')
-rw-r--r-- | man/systemd.environment-generator.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/man/systemd.environment-generator.xml b/man/systemd.environment-generator.xml index 856f6a641b..151c6ace43 100644 --- a/man/systemd.environment-generator.xml +++ b/man/systemd.environment-generator.xml @@ -31,19 +31,19 @@ <command>&USER_ENV_GENERATOR_DIR;/some-generator</command> </cmdsynopsis> - <para> - <literallayout><filename>/run/systemd/system-environment-generators/*</filename> -<filename>/etc/systemd/system-environment-generators/*</filename> -<filename>/usr/local/lib/systemd/system-environment-generators/*</filename> -<filename>&SYSTEM_ENV_GENERATOR_DIR;/*</filename></literallayout> - </para> - - <para> - <literallayout><filename>/run/systemd/user-environment-generators/*</filename> -<filename>/etc/systemd/user-environment-generators/*</filename> -<filename>/usr/local/lib/systemd/user-environment-generators/*</filename> -<filename>&USER_ENV_GENERATOR_DIR;/*</filename></literallayout> - </para> + <para><simplelist> + <member><filename>/run/systemd/system-environment-generators/*</filename></member> + <member><filename>/etc/systemd/system-environment-generators/*</filename></member> + <member><filename>/usr/local/lib/systemd/system-environment-generators/*</filename></member> + <member><filename>&SYSTEM_ENV_GENERATOR_DIR;/*</filename></member> + </simplelist></para> + + <para><simplelist> + <member><filename>/run/systemd/user-environment-generators/*</filename></member> + <member><filename>/etc/systemd/user-environment-generators/*</filename></member> + <member><filename>/usr/local/lib/systemd/user-environment-generators/*</filename></member> + <member><filename>&USER_ENV_GENERATOR_DIR;/*</filename></member> + </simplelist></para> </refsynopsisdiv> <refsect1> |