From 63eea601d80ceb4d58afe7ef09690e40571e6d70 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Wed, 12 Jun 2013 11:40:25 +0100 Subject: 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 --- doc/coreutils.texi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'doc/coreutils.texi') 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 -- cgit v1.2.3-54-g00ecf