summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-11-26 15:32:39 +0000
committerPádraig Brady <P@draigBrady.com>2013-11-26 15:46:22 +0000
commit17bce8c63e9e0f85b48ca62b63413ce9102af5c1 (patch)
tree649bf6bd7cce7ae58c16e395f51ba9b0c745f060 /doc/coreutils.texi
parentebea85b49c244c8bff69297efc02d9485420087e (diff)
downloadcoreutils-17bce8c63e9e0f85b48ca62b63413ce9102af5c1.tar.xz
doc: clarify the operation of ls -k
* src/ls.c (usage): Mention -k only changes the display for disk usage (directory total, and ls -s), and imply that it can be overridden (by --block-size, and -h). * doc/coreutils.texi (block size): Mention that ls -k handling is different to other utilities. Addresses http://bugs.gnu.org/14525
Diffstat (limited to 'doc/coreutils.texi')
-rw-r--r--doc/coreutils.texi4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 64713dc4a..67feb125a 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -1012,7 +1012,9 @@ option is equivalent to @option{--block-size=1K}, which
is the default unless the @env{POSIXLY_CORRECT} environment variable is
set. The @option{-h} or @option{--human-readable} option is equivalent to
@option{--block-size=human-readable}. The @option{--si} option is
-equivalent to @option{--block-size=si}.
+equivalent to @option{--block-size=si}. Note for @command{ls}
+the @option{-k} option does not control the display of the
+apparent file sizes, whereas the @option{--block-size} option does.
@node Floating point
@section Floating point numbers