]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: revert recent date(1) synopsis change
authorPádraig Brady <P@draigBrady.com>
Thu, 28 Jul 2016 11:38:20 +0000 (12:38 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 28 Jul 2016 11:38:20 +0000 (12:38 +0100)
* 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

doc/coreutils.texi
src/date.c

index b85404b5c3acc1dde5562a0fdab4d92285ff9e47..914aec7255df18359a9fc31356db8145e68baf75 100644 (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
index a9a580c262954592273f3b581ac6258f3f37fc7b..e73196b96c2388fbfcdc2ada61be43b8cbb04ca6 100644 (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 (_("\