mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
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:
1 parent
a69e54cfdf
commit
8d1b163080
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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 (_("\
|
||||
|
||||
Reference in new issue
Block a user