Add more support for POSIX 1003.1-2001, which requires removal
authorJim Meyering <jim@meyering.net>
Mon, 11 Feb 2002 22:58:59 +0000 (22:58 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 11 Feb 2002 22:58:59 +0000 (22:58 +0000)
commitd614857d034cb01e21bc3a10d8fc2426b7f1df4a
tree8fbdc111692d2267751c0848e2a84fb65ace6980
parent8abf13fa9460dd07e310833a6162547922acf0c9
Add more support for POSIX 1003.1-2001, which requires removal
for support of obsolete "-DIGITS" option syntax in nice, and
which prohibits options with optional arguments like date's
-I option.

(ISO_8601_OPTION): New enum value.
(long_options): Use it.
(short_options): New constant.

(usage): Document the change.

(main): Conform to POSIX 1003.1-2001 if
POSIX2_VERSION says to, otherwise warn of obsolete usage if
OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.
src/date.c