summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-04-09 13:37:42 +0100
committerPádraig Brady <P@draigBrady.com>2014-04-09 14:17:06 +0100
commit30acfcab5093debf433d966c5666d2e505c389c1 (patch)
tree3dec6ec795f9fdca8bf4d95dd23d231643805610 /src/cp.c
parentd695bc8bc60698bdcc07f9ab8c649a77383bcc85 (diff)
downloadcoreutils-30acfcab5093debf433d966c5666d2e505c389c1.tar.xz
doc: clarify in --help that -Z doesn't take an argument
* NEWS: Fix a confusing old entry. * cfg.mk (old_NEWS_hash): Adjust accordingly. * src/cp.c (usage): Separate the -Z and --context descriptions. * src/install.c: Likewise. * src/mkdir.c: Likewise. * src/mkfifo.c: Likewise. * src/mknod.c: Likewise. Fixes http://bugs.gnu.org/17220
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cp.c b/src/cp.c
index ee7d08878..a2541161e 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -230,8 +230,10 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\
-x, --one-file-system stay on this file system\n\
"), stdout);
fputs (_("\
- -Z, --context[=CTX] set SELinux security context of destination\n\
- file to default type, or to CTX if specified\n\
+ -Z set SELinux security context of destination\n\
+ file to default type\n\
+ --context[=CTX] like -Z, or if CTX is specified then set the\n\
+ SELinux or SMACK security context to CTX\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);