From 79ca888f5ad026b5b3844c05a80401905e64e2f0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 27 Jan 2015 21:22:08 -0500 Subject: [PATCH] tmpfiles: fix help text The help text, apart from being too long, did not describe what the options really do. --- man/systemd-tmpfiles.xml | 8 ++++---- src/tmpfiles/tmpfiles.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index d4c5bf26e..f4d53b313 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -147,15 +147,15 @@ - Only apply rules that - apply to paths with the specified + Only apply rules with + paths that start with the specified prefix. This option can be specified multiple times. - Ignore rules that - apply to paths with the specified + Ignore rules with + paths that start with the specified prefix. This option can be specified multiple times. diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index d60d5ba6f..473c51166 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); } -- 2.30.2