diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2016-09-08 01:00:23 -0400 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2016-09-08 01:00:23 -0400 |
commit | c6389a1340cdc2a74dbbba5db13df009ada3c04c (patch) | |
tree | e23ca62fded79ce66a6e3400764f511affedc358 /tests/pr/a3l15f-t | |
parent | d47090d964d31bb4af9872525275372efd3bfdce (diff) | |
download | coreutils-c6389a1340cdc2a74dbbba5db13df009ada3c04c.tar.xz |
date: add '--debug' option
Usage example:
date --debug -d 'now + 3 days'
Print parsing and debugging information to stderr when using date's
-d/--date option.
See: http://lists.gnu.org/archive/html/coreutils/2016-01/msg00076.html
* src/date.c (main): Add '--debug' option, enable debugging
in gnulib's parse-datetime.y module.
* tests/misc/date.pl: Repeat tests with '--debug' enable, ensure
no regression.
* tests/misc/date-debug.sh: Test output of '--debug' option.
* tests/local.mk: Add above test.
* NEWS: Mention new option.
* doc/coreutils.texi: Likewise.
Diffstat (limited to 'tests/pr/a3l15f-t')
0 files changed, 0 insertions, 0 deletions