]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: chcon: use more standard -HLP desciptions
authorPádraig Brady <P@draigBrady.com>
Fri, 16 Jan 2026 14:40:27 +0000 (14:40 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 21 Jan 2026 13:51:40 +0000 (13:51 +0000)
* src/chcon.c (usage): Use emit_symlink_recurse_options ("-P").

src/chcon.c

index c9434c7cd2721963e0dc1e2c4dc51277bfb70fb0..1f0ecdb754a4307e9bc770b7be566940c034056f 100644 (file)
@@ -389,19 +389,7 @@ With --reference, change the security context of each FILE to that of RFILE.\n\
       fputs (_("\
   -v, --verbose          output a diagnostic for every file processed\n\
 "), stdout);
-      fputs (_("\
-\n\
-The following options modify how a hierarchy is traversed when the -R\n\
-option is also specified.  If more than one is specified, only the final\n\
-one takes effect.\n\
-\n\
-  -H                     if a command line argument is a symbolic link\n\
-                         to a directory, traverse it\n\
-  -L                     traverse every symbolic link to a directory\n\
-                         encountered\n\
-  -P                     do not traverse any symbolic links (default)\n\
-\n\
-"), stdout);
+      emit_symlink_recurse_options ("-P");
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       emit_ancillary_info (PROGRAM_NAME);