From 090f138c97e2d8934be880b0686ef61c1e25cdff Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 14 Nov 2024 22:23:40 +0000 Subject: [PATCH] ls: clarify relationship of -s and --block-size. The lack of this got me a "--block-size doesn't work" bug report... --- toys/posix/ls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toys/posix/ls.c b/toys/posix/ls.c index 3addd451..7a8dfd27 100644 --- a/toys/posix/ls.c +++ b/toys/posix/ls.c @@ -30,7 +30,7 @@ config LS -H follow command line symlinks -i inode number -L follow symlinks -N no escaping, even on tty -p put '/' after dir names -q unprintable chars as '?' - -R recursively list in subdirs -s storage used (in --block-size) + -R recursively list in subdirs -s storage used (units of --block-size) -Z security context output formats: @@ -46,7 +46,7 @@ config LS -c ctime -r reverse -S size -t time -u atime -U none -X extension -! dirfirst -~ nocase - --block-size N block size (default 1024, -k resets to 1024) + --block-size N block size for -s (default 1024, -k resets to 1024) --color =always (default) =auto (when stdout is tty) =never exe=green suid=red suidfile=redback stickydir=greenback device=yellow symlink=turquoise/red dir=blue socket=purple -- 2.39.5