summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-01-19 10:52:54 +0000
committerPádraig Brady <P@draigBrady.com>2015-01-19 11:10:02 +0000
commit4c77bd23e8c933161c6b64534310548ede2d1ebb (patch)
tree724aacc627b132909cadc99c4eda7573462bc3cd /doc
parente84046dbe6dd26bfcea7edf6fb419bea274635ab (diff)
downloadcoreutils-4c77bd23e8c933161c6b64534310548ede2d1ebb.tar.xz
doc: clarify that du operands are interdependent
Following on from http://bugs.gnu.org/17546 make it more obvious that du may elide specified operands to avoid double counting in the set. * src/du.c (usage): Specify that du operates on the set of operands, rather than each independently. * doc/coreutils.texi (du invocation): Likewise. Also state that the number of entries printed may change due to the order specified. Currently, deeper items specified earlier will result in them being displayed, but don't mention that implementation detail in the documentation. * THANKS.in: Add reporter. Reported by Stephen Shirley
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index f6aef2dd0..1cc65329c 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -11496,7 +11496,7 @@ or @option{-x} is used together with a file name argument.
@cindex file space usage
@cindex disk usage for files
-@command{du} reports the amount of disk space used by the specified files
+@command{du} reports the amount of disk space used by the set of specified files
and for each subdirectory (of directory arguments). Synopsis:
@example
@@ -11511,7 +11511,7 @@ Non-integer quantities are rounded up to the next higher unit.
If two or more hard links point to the same file, only one of the hard
links is counted. The @var{file} argument order affects which links
are counted, and changing the argument order may change the numbers
-that @command{du} outputs.
+and entries that @command{du} outputs.
The program accepts the following options. Also see @ref{Common options}.