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 /gnulib | |
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 'gnulib')
m--------- | gnulib | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/gnulib b/gnulib -Subproject a5f6df2b1f3f0fdc73635de3ad285d21703dab1 +Subproject f5c2e2ac7d4ca2f6ba15e56a245f348899360a0 |