doc: make date(1) synopsis consistent with output +FORMAT

* src/date.c (usage): Make the characters used to summarize
the input format, match the output +FORMAT characters.
* doc/coreutils.texi (date invocation): Likewise.
Fixes http://bugs.gnu.org/24077
This commit is contained in:
Pádraig Brady committed 2016-07-27 17:08:24 +01:00
1 parent a69e54cfdf
commit 8d1b163080
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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 (_("\