]> git.ipfire.org Git - thirdparty/coreutils.git/commit
date: --debug: diagnose discarded -d or -s options
authorPádraig Brady <P@draigBrady.com>
Sun, 24 Jul 2022 18:24:18 +0000 (19:24 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Jul 2022 19:40:34 +0000 (20:40 +0100)
commit854e0351216869b8e79391e08b156127d1508beb
treec25409b8cf35b759dd43e2a837b16f3c3a83d41c
parent96c149941357186abcbd8da914544a7867cab01e
date: --debug: diagnose discarded -d or -s options

* src/date.c: (main): Track and diagnose whether any
-d or -s options are dropped, as users may think
multiple options are supported, given they can be relative.
* tests/misc/date-debug.sh: Add a test case.
* NEWS: Mention the improvement.
NEWS
src/date.c
tests/misc/date-debug.sh