chiark / gitweb /
tmpfiles: fix help text
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Jan 2015 02:22:08 +0000 (21:22 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 28 Jan 2015 02:48:12 +0000 (21:48 -0500)
The help text, apart from being too long, did not describe what the options
really do.

man/systemd-tmpfiles.xml
src/tmpfiles/tmpfiles.c

index d4c5bf26e4c6473cf0aecf82b77226bcee5b5718..f4d53b31393238574db0e54d50fed830ffee19e8 100644 (file)
                         </varlistentry>
                         <varlistentry>
                                 <term><option>--prefix=<replaceable>path</replaceable></option></term>
                         </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>
                                 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>
                                 prefix. This option can be specified
                                 multiple times.</para></listitem>
                         </varlistentry>
index d60d5ba6ff2d30cc43d44193d01bbf16ab2d6019..473c51166b49daf368975270f9559f5a707f1357 100644 (file)
@@ -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"
                "     --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);
 }
                "     --root=PATH            Operate on an alternate filesystem root\n",
                program_invocation_short_name);
 }