summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/coreutils.texi1
-rw-r--r--src/install.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 62be66a5c..76e418252 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -9024,6 +9024,7 @@ Program used to strip binaries.
@optBackupSuffix
@optTargetDirectory
+Also specifying the @option{-D} option will ensure the directory is present.
@optNoTargetDirectory
diff --git a/src/install.c b/src/install.c
index 3f0ca74c9..2ff279c01 100644
--- a/src/install.c
+++ b/src/install.c
@@ -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\