Skip to content

Commit 69d7682

Browse files
poetteringbluca
authored andcommitted
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.
1 parent 41064a3 commit 69d7682

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/tmpfiles/tmpfiles.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4148,7 +4148,9 @@ static int help(void) {
41484148
"\n%3$sCommands:%4$s\n"
41494149
" --create Create files and directories\n"
41504150
" --clean Clean up files and directories\n"
4151-
" --remove Remove files and directories\n"
4151+
" --remove Remove files and directories marked for removal\n"
4152+
" --purge Delete files and directories marked for creation in\n"
4153+
" specified configuration files (careful!)\n"
41524154
" -h --help Show this help\n"
41534155
" --version Show package version\n"
41544156
"\n%3$sOptions:%4$s\n"
@@ -4157,7 +4159,6 @@ static int help(void) {
41574159
" --tldr Show non-comment parts of configuration\n"
41584160
" --boot Execute actions only safe at boot\n"
41594161
" --graceful Quietly ignore unknown users or groups\n"
4160-
" --purge Delete all files owned by the configuration files\n"
41614162
" --prefix=PATH Only apply rules with the specified prefix\n"
41624163
" --exclude-prefix=PATH Ignore rules with the specified prefix\n"
41634164
" -E Ignore rules prefixed with /dev, /proc, /run, /sys\n"

0 commit comments

Comments
 (0)