diff options
| author | Jim Meyering <meyering@redhat.com> | 2011-12-11 11:59:31 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2011-12-12 12:19:55 +0100 |
| commit | a3fee8b6afdbb70317d2124d5a3bb0d2887ab31b (patch) | |
| tree | ea6ac15d733cedc9f8a201da7b65b43a87f50078 /scripts/git-hooks/commit-msg | |
| parent | maint: remove a misleading comment from shred.c (diff) | |
| download | coreutils-a3fee8b6afdbb70317d2124d5a3bb0d2887ab31b.tar.gz coreutils-a3fee8b6afdbb70317d2124d5a3bb0d2887ab31b.zip | |
ls: give a more useful diagnostic for a bogus --time-style arg
* src/ls.c (decode_switches): Replace our use of XARGMATCH
with open-coded version so that we can give a better diagnostic.
* tests/ls/time-style-diag: New file.
* tests/Makefile.am (TESTS): Add it.
Reported by Dan Jacobson in http://bugs.gnu.org/10253
with suggestions from Eric Blake and Paul Eggert.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
