summaryrefslogtreecommitdiff
path: root/src/ls.c
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 /src/ls.c
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 'src/ls.c')
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index 512d65e2d..e7d1d9315 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4816,7 +4816,7 @@ Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.\n\
-i, --inode print the index number of each file\n\
-I, --ignore=PATTERN do not list implied entries matching shell PATTERN\
\n\
- -k, --kibibytes use 1024-byte blocks\n\
+ -k, --kibibytes default to 1024-byte blocks for disk usage\n\
"), stdout);
fputs (_("\
-l use a long listing format\n\