summaryrefslogtreecommitdiff
path: root/man/systemd-sysusers.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-01-29 14:47:01 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-02-02 10:18:13 +0100
commit1b600bd522d2c01c493729cdda4bcc2e01203e98 (patch)
treecc7d1ac9955d12f35bc9e3d47218b8718258de4e /man/systemd-sysusers.xml
parentd1e4b8fd963ba43190ec824a803819612ff80441 (diff)
downloadsystemd-1b600bd522d2c01c493729cdda4bcc2e01203e98.tar.gz
sysusers: take configuration as positional arguments
If the configuration is included in a script, this is more convient. I thought it would be possible to use this for rpm scriptlets with '%pre -p systemd-sysuser "..."', but apparently there is no way to pass arguments to the executable ($1 is used for the package installation count). But this functionality seems generally useful, e.g. for testing and one-off scripts, so let's keep it. There's a slight change in behaviour when files are given on the command line: if we cannot parse them, error out instead of ignoring the failure. When trying to parse all configuration files, we don't want to fail even if some config files are broken, but when parsing a list of items specified explicitly, we should. v2: - rename --direct to --inline
Diffstat (limited to 'man/systemd-sysusers.xml')
-rw-r--r--man/systemd-sysusers.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/systemd-sysusers.xml b/man/systemd-sysusers.xml
index 73ba4e4a84..7816356889 100644
--- a/man/systemd-sysusers.xml
+++ b/man/systemd-sysusers.xml
@@ -94,6 +94,12 @@
paths. </para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--inline</option></term>
+ <listitem><para>Treat each positional argument as a separate configuration
+ line instead of a file name.</para></listitem>
+ </varlistentry>
+
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>