summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-27 21:22:08 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2015-01-27 21:48:12 -0500
commit79ca888f5ad026b5b3844c05a80401905e64e2f0 (patch)
treee286169eadc47c554637ee2edc1fb4c8d7f6637b
parent6bf12f55aff33a588a1945d9d06aa31c164984fd (diff)
tmpfiles: fix help text
The help text, apart from being too long, did not describe what the options really do.
-rw-r--r--man/systemd-tmpfiles.xml8
-rw-r--r--src/tmpfiles/tmpfiles.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml
index d4c5bf26e4..f4d53b3139 100644
--- a/man/systemd-tmpfiles.xml
+++ b/man/systemd-tmpfiles.xml
@@ -147,15 +147,15 @@
</varlistentry>
<varlistentry>
<term><option>--prefix=<replaceable>path</replaceable></option></term>
- <listitem><para>Only apply rules that
- apply to paths with the specified
+ <listitem><para>Only apply rules with
+ paths that start with the specified
prefix. This option can be specified
multiple times.</para></listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-prefix=<replaceable>path</replaceable></option></term>
- <listitem><para>Ignore rules that
- apply to paths with the specified
+ <listitem><para>Ignore rules with
+ paths that start with the specified
prefix. This option can be specified
multiple times.</para></listitem>
</varlistentry>
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index d60d5ba6ff..473c51166b 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -1749,8 +1749,8 @@ static void help(void) {
" --clean Clean up marked directories\n"
" --remove Remove marked files/directories\n"
" --boot Execute actions only safe at boot\n"
- " --prefix=PATH Only apply rules that apply to paths with the specified prefix\n"
- " --exclude-prefix=PATH Ignore rules that apply to paths with the specified prefix\n"
+ " --prefix=PATH Only apply rules with the specified prefix\n"
+ " --exclude-prefix=PATH Ignore rules with the specified prefix\n"
" --root=PATH Operate on an alternate filesystem root\n",
program_invocation_short_name);
}