summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-22 04:30:18 +0000
committerJim Meyering <jim@meyering.net>1995-05-22 04:30:18 +0000
commitee79446888205b9d63868168693e64c09a762051 (patch)
tree43c2fbe3e5be6be2bc5d2b56552fc4c30947b1fb /src/install.c
parentd0da35f3d23b3879a18da4ae3161bce783f1843a (diff)
downloadcoreutils-ee79446888205b9d63868168693e64c09a762051.tar.xz
(usage): Add one or two lines of descriptive text.
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c
index f2315020b..c7d926fbb 100644
--- a/src/install.c
+++ b/src/install.c
@@ -538,15 +538,18 @@ usage (status)
printf ("\
Usage: %s [OPTION]... SOURCE DEST (1st format)\n\
or: %s [OPTION]... SOURCE... DIRECTORY (2nd format)\n\
- or: %s [OPTION]... DIRECTORY... (3nd format)\n\
+ or: %s -d [OPTION]... DIRECTORY... (3nd format)\n\
",
program_name, program_name, program_name);
printf ("\
+In first two formats, copy SOURCE to DEST or multiple SOURCE(s) to\n\
+DIRECTORY, while setting permission modes and owner/group. In third\n\
+format, make all components of the given DIRECTORY(ies).\n\
\n\
-c (ignored)\n\
-d, --directory create [leading] directories, mandatory for 3rd format\n\
-g, --group=GROUP set group ownership, instead of process' current group\n\
- -m, --mode=MODE set permission mode (as in chmod), instead of 0755\n\
+ -m, --mode=MODE set permission mode (as in chmod), instead of rw-r--r--\n\
-o, --owner=OWNER set ownership (super-user only)\n\
-s, --strip strip symbol tables, only for 1st and 2nd formats\n\
--help display this help and exit\n\