]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: mention in more places that -D will create --target-directory
authorPádraig Brady <P@draigBrady.com>
Sat, 2 Jan 2016 22:22:55 +0000 (22:22 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 3 Jan 2016 12:58:39 +0000 (12:58 +0000)
* src/install.c (usage): Mention this commonly required functionality
in the -D option description.
* doc/coreutils.texi (install invocation): Likewise for the
--target-directory description.

doc/coreutils.texi
src/install.c

index 62be66a5c0d1928176b2e90e902e0bbaf4d3551d..76e4182524330c3e01291de47ec0063bebbce31b 100644 (file)
@@ -9024,6 +9024,7 @@ Program used to strip binaries.
 @optBackupSuffix
 
 @optTargetDirectory
+Also specifying the @option{-D} option will ensure the directory is present.
 
 @optNoTargetDirectory
 
index 3f0ca74c9dfadf15f940865378da3cce3c9241bc..2ff279c01c572ef8bd7c4c2763c10c6a57f799a5 100644 (file)
@@ -632,6 +632,7 @@ In the 4th form, create all components of the given DIRECTORY(ies).\n\
 "), stdout);
       fputs (_("\
   -D                  create all leading components of DEST except the last,\n\
+                        or all components of --target-directory,\n\
                         then copy SOURCE to DEST\n\
   -g, --group=GROUP   set group ownership, instead of process' current group\n\
   -m, --mode=MODE     set permission mode (as in chmod), instead of rwxr-xr-x\n\