]> git.ipfire.org Git - thirdparty/coreutils.git/commit
du: improve diagnostics for --time-style
authorPádraig Brady <P@draigBrady.com>
Mon, 28 Jul 2025 22:05:49 +0000 (23:05 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 29 Jul 2025 10:43:09 +0000 (11:43 +0100)
commita7c63296c1364862cedf96e4932147a2646c7843
tree54e1aabd4531b8ba4c7a3277c5b603874d29b9ee
parent69f21c5d4603b550b1cef89cdc269086260b189b
du: improve diagnostics for --time-style

* src/system.h (x_timestyle_args): A new function refactored from ...
* src/ls.c (decode_switches): ... here.
* src/du.c: Use refactored x_timestyle_args() to output a custom error.
Addresses https://bugs.gnu.org/79113
src/du.c
src/ls.c
src/system.h