summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/coreutils.texi3
-rw-r--r--src/du.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index d607eaf3d..a325bd058 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -11436,8 +11436,7 @@ Normally, in the output of @command{du} (when not using @option{--summarize}),
the size listed next to a directory name, @var{d}, represents the sum
of sizes of all entries beneath @var{d} as well as the size of @var{d} itself.
With @option{--separate-dirs}, the size reported for a directory name,
-@var{d}, is merely the @code{stat.st_size}-derived size of the directory
-entry, @var{d}.
+@var{d}, will exclude the size of any subdirectories.
@optSi
diff --git a/src/du.c b/src/du.c
index a80a17701..1aa5a1675 100644
--- a/src/du.c
+++ b/src/du.c
@@ -315,7 +315,7 @@ Summarize disk usage of each FILE, recursively for directories.\n\
"), stdout);
fputs (_("\
-P, --no-dereference don't follow any symbolic links (this is the default)\n\
- -S, --separate-dirs do not include size of subdirectories\n\
+ -S, --separate-dirs for directories do not include size of subdirectories\n\
--si like -h, but use powers of 1000 not 1024\n\
-s, --summarize display only a total for each argument\n\
"), stdout);