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 | |
parent | da4793e949363242400ad10bc739e3db4319755f (diff) | |
download | coreutils-a3fee8b6afdbb70317d2124d5a3bb0d2887ab31b.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions