]> git.ipfire.org Git - thirdparty/coreutils.git/commit
du: document the TIME_STYLE env variable in usage
authorBernhard Voelker <mail@bernhard-voelker.de>
Sun, 16 Nov 2025 17:24:47 +0000 (18:24 +0100)
committerBernhard Voelker <mail@bernhard-voelker.de>
Sun, 16 Nov 2025 17:31:20 +0000 (18:31 +0100)
commit9a970586c7cb92887222cb7f61d4a1eb140a1856
tree336266cdc0d6aad2ba5953fed5a1da15d6ef76fa
parent3c1721d6c7db8bf4369afe25fd31409fd6fac338
du: document the TIME_STYLE env variable in usage

The impact of the TIME_STYLE environment variable on du(1) was only
documented in the Texinfo manual.  To avoid surprises for users,
also mention TIME_STYLE in the usage text, i.e., for --help and man.
Organize similar as in ls(1), but as du(1) has slightly different
behavior it would be hard to share the translation.

* src/du.c (usage): Shorten the description of --time-style, and refer
to an additional --time-style / TIME_STYLE description below.
src/du.c