diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2021-07-27 17:34:43 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-07-27 18:08:39 -0700 |
| commit | c75779cac3abec6e6072c0ac77dced85d1c44370 (patch) | |
| tree | 7c4718143bad10f308118c1b752a24241ed5208c /scripts/git-hooks/commit-msg | |
| parent | ls: compute defaults more lazily (diff) | |
| download | coreutils-c75779cac3abec6e6072c0ac77dced85d1c44370.tar.gz coreutils-c75779cac3abec6e6072c0ac77dced85d1c44370.zip | |
ls: rename --null to --zero (Bug#49716)
* NEWS, doc/coreutils.texi (General output formatting):
* src/ls.c (usage):
Document this.
* src/ls.c (ZERO_OPTION): Rename from NULL_OPTION.
All uses changed.
(long_options): Rename --null to --zero.
(dired_dump_obstack, main, print_dir): Use '\n' instead of
eolbyte where eolbyte must equal '\n'.
(decode_switches): Decode --zero instead of --null.
--zero also implies -1, -N, --color=none, --show-control-chars.
Use easier-to-decipher code to set ‘format’ and ‘dired’.
Reject attempts to combine --dired and --zero.
* tests/local.mk: Adjust to test script renaming.
* tests/ls/zero-option.sh: Rename from tests/ls/null-option.sh,
and test --zero instead of --null.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
