summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-06-12 11:40:25 +0100
committerPádraig Brady <P@draigBrady.com>2013-06-12 15:12:24 +0100
commit63eea601d80ceb4d58afe7ef09690e40571e6d70 (patch)
tree75fca7132974c8d1d79e00ceac39c45d2299e24d /src
parent74cd098d2e6b3f8908123b174fd44e44170fd991 (diff)
downloadcoreutils-63eea601d80ceb4d58afe7ef09690e40571e6d70.tar.xz
doc: clarify the description of du --separate-dirs
* src/du.c (usage): Clarify that --separate-dirs doesn't exclude all directories. * doc/coreutils.texi (du invocation): Avoid implying that -S excludes the size of any non directory entries for a directory. Also don't mention st_size as it's dependent on --apparent-size. Reported by C de-Avillez in <https://launchpad.net/bugs/1187044>
Diffstat (limited to 'src')
-rw-r--r--src/du.c2
1 files changed, 1 insertions, 1 deletions
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);