summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2026-01-16 14:40:27 +0000
committerPádraig Brady <P@draigBrady.com>2026-01-21 13:51:40 +0000
commit1cbfdce4250f2dfdc8f7f8ea75c16e97de8cccef (patch)
tree9899404dfba40fbddc61a7e0cc912f6db4d22e98 /src
parente73d594374375a92910672e5e93a3669a7e7566a (diff)
downloadcoreutils-1cbfdce4250f2dfdc8f7f8ea75c16e97de8cccef.tar.gz
coreutils-1cbfdce4250f2dfdc8f7f8ea75c16e97de8cccef.zip
doc: chcon: use more standard -HLP desciptions
* src/chcon.c (usage): Use emit_symlink_recurse_options ("-P").
Diffstat (limited to 'src')
-rw-r--r--src/chcon.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/chcon.c b/src/chcon.c
index c9434c7cd..1f0ecdb75 100644
--- a/src/chcon.c
+++ b/src/chcon.c
@@ -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);