summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-26 19:07:54 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-27 10:06:24 +0200
commitceaaeb9bab2efee578971615c584c4c91b9d3858 (patch)
treee7102716d7110035811a019cf36c9484ab32bee1 /man
parent854a42fb2e9db1b9eaa381559d7671f2e9b3a0f1 (diff)
downloadsystemd-ceaaeb9bab2efee578971615c584c4c91b9d3858.tar.gz
tmpfiles: add --cat-config
This implements similar logic as conf_files_cat(), but with slightly different file gathering logic. I also want to add support for replacement files later on, so it seems better to keep those two file-gathering functions separate.
Diffstat (limited to 'man')
-rw-r--r--man/standard-options.xml9
-rw-r--r--man/systemd-tmpfiles.xml1
2 files changed, 10 insertions, 0 deletions
diff --git a/man/standard-options.xml b/man/standard-options.xml
index 40edb4b4e1..4ffe124905 100644
--- a/man/standard-options.xml
+++ b/man/standard-options.xml
@@ -50,4 +50,13 @@
footer with hints.</para>
</listitem>
</varlistentry>
+
+ <varlistentry id='cat-config'>
+ <term><option>--cat-config</option></term>
+
+ <listitem>
+ <para>Copy the contents of config files to standard output.
+ Before each file, the filename is printed as a comment.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml
index c40f8a920a..f8a289eba3 100644
--- a/man/systemd-tmpfiles.xml
+++ b/man/systemd-tmpfiles.xml
@@ -183,6 +183,7 @@
</para></listitem>
</varlistentry>
+ <xi:include href="standard-options.xml" xpointer="cat-config" />
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
</variablelist>