Add support for _POSIX2_VERSION, which lets you pick which POSIX
authorJim Meyering <jim@meyering.net>
Sat, 16 Feb 2002 09:04:30 +0000 (09:04 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Feb 2002 09:04:30 +0000 (09:04 +0000)
commitf033fef4ceeab2e25d4e1afa4bf38fdcfba5376e
treee9afbf996c2576e05a3ead533a4ea5cd57c35f00
parent7513e6d4f40cce1bffd0c03552ba11241383ae39
Add support for _POSIX2_VERSION, which lets you pick which POSIX
version you want the utilities to conform to.  Remove warnings about
failure to conform to a future POSIX version.

(ISO_8601_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.

(usage): Document only the intersection of the
old and new behaviors, to encourage portability.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.
src/date.c