diff options
author | Lennart Poettering <lennart@poettering.net> | 2024-06-18 09:56:15 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2024-06-18 15:45:59 +0200 |
commit | 69d76823ce6e9c307184946ed55b207eb728e625 (patch) | |
tree | 66dd92cb41ef8b93b1b43472bc3d811921f90699 | |
parent | tmpfiles: insist on at least one configuration file being specified on --purge (diff) | |
download | systemd-69d76823ce6e9c307184946ed55b207eb728e625.tar.xz systemd-69d76823ce6e9c307184946ed55b207eb728e625.zip |
tmpfiles: move --purge to command section in --help text where it belongs
Also, make contrast between --remove and --purge clearer: one deletes
files marked for deletion, the other deletes files marked for creation.
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 9895e94696..80aa274f20 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -4148,7 +4148,9 @@ static int help(void) { "\n%3$sCommands:%4$s\n" " --create Create files and directories\n" " --clean Clean up files and directories\n" - " --remove Remove files and directories\n" + " --remove Remove files and directories marked for removal\n" + " --purge Delete files and directories marked for creation in\n" + " specified configuration files (careful!)\n" " -h --help Show this help\n" " --version Show package version\n" "\n%3$sOptions:%4$s\n" @@ -4157,7 +4159,6 @@ static int help(void) { " --tldr Show non-comment parts of configuration\n" " --boot Execute actions only safe at boot\n" " --graceful Quietly ignore unknown users or groups\n" - " --purge Delete all files owned by the configuration files\n" " --prefix=PATH Only apply rules with the specified prefix\n" " --exclude-prefix=PATH Ignore rules with the specified prefix\n" " -E Ignore rules prefixed with /dev, /proc, /run, /sys\n" |