1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-03 08:22:37 +03:00

man: fix description of the config file argument

It's any relative path, not just "basename", as was stated before.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-08-19 15:56:36 +02:00
parent eef74f9125
commit 0336c23e98

View File

@ -35,23 +35,22 @@
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
<para><command>systemd-sysusers</command> creates system users and <para><command>systemd-sysusers</command> creates system users and groups, based on files in the format
groups, based on the file format and location specified in described in
<citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>. <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
</para> </para>
<para>If invoked with no arguments, it applies all directives from all files <para>If invoked with no arguments, it applies all directives from all files found in the directories
found in the directories specified by specified by
<citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>. <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>. When
When invoked with positional arguments, if option invoked with positional arguments, if option <option>--replace=<replaceable>PATH</replaceable></option>
<option>--replace=<replaceable>PATH</replaceable></option> is specified, arguments is specified, arguments specified on the command line are used instead of the configuration file
specified on the command line are used instead of the configuration file <replaceable>PATH</replaceable>. Otherwise, just the configuration specified by the command line
<replaceable>PATH</replaceable>. Otherwise, just the configuration specified by arguments is executed. The string <literal>-</literal> may be specified instead of a filename to instruct
the command line arguments is executed. The string <literal>-</literal> may be <command>systemd-sysusers</command> to read the configuration from standard input. If the argument is a
specified instead of a filename to instruct <command>systemd-sysusers</command> relative path, all configuration directories are searched for a matching file and the file found that has
to read the configuration from standard input. If only the basename of a file is the highest priority is executed. If the argument is an absolute path, that file is used directly without
specified, all configuration directories are searched for a matching file and searching of the configuration directories.</para>
the file found that has the highest priority is executed.</para>
</refsect1> </refsect1>
<refsect1> <refsect1>