doc: revert recent date(1) synopsis change

* src/date.c (usage): This was thought to introduce other ambiguities,
and was inconsistent with the format presented in the touch(1) docs.
* doc/coreutils.texi (date invocation): Likewise.
See http://bugs.gnu.org/24077
This commit is contained in:
Pádraig Brady 2016-07-28 12:38:20 +01:00
parent 558ce3044d
commit 5bbce2d2d7
2 changed files with 2 additions and 2 deletions

View File

@ -15018,7 +15018,7 @@ Synopses:
@example
date [@var{option}]@dots{} [+@var{format}]
date [-u|--utc|--universal] @c this avoids a newline in the output
[ mmddHHMM[[CC]yy][.SS] ]
[ MMDDhhmm[[CC]YY][.ss] ]
@end example
@vindex LC_TIME

View File

@ -122,7 +122,7 @@ usage (int status)
{
printf (_("\
Usage: %s [OPTION]... [+FORMAT]\n\
or: %s [-u|--utc|--universal] [mmddHHMM[[CC]yy][.SS]]\n\
or: %s [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]\n\
"),
program_name, program_name);
fputs (_("\