summaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorCollin Funk <collin.funk1@gmail.com>2025-11-27 21:33:30 -0800
committerCollin Funk <collin.funk1@gmail.com>2025-11-28 14:08:31 -0800
commit90856dd867ba7a86a0a54e987048b0250b716c3b (patch)
treef102dd45194d6e0fd5025a041ff12868d2abab53 /scripts/git-hooks/commit-msg
parent7d94684f2cc0e09aefeb505bfb171f7b7a21b4d5 (diff)
downloadcoreutils-90856dd867ba7a86a0a54e987048b0250b716c3b.tar.gz
coreutils-90856dd867ba7a86a0a54e987048b0250b716c3b.zip
du: add the short option -A corresponding to --apparent-size
The --apparent-size option to 'du' was added in coreutils-4.5.8 (2003). FreeBSD 8.0 (2009) added the same functionality under the short option -A. This long option previously had no short option, so this patch adds -A to be compatible with FreeBSD. * NEWS: Mention the new short option. * doc/coreutils.texi: Document the short option. * src/du.c (usage): Likewise. (APPARENT_SIZE_OPTION): Remove definition. (EXCLUDE_OPTION): Define to CHAR_MAX + 1. (long_options): Use the -A short option for --apparent-size. (main): Likewise. * tests/du/apparent.sh: Test that '-b', '-A -B 1', and '--apparent-size --block-size 1' function the same.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions