From: Pádraig Brady Date: Thu, 28 Jul 2016 11:38:20 +0000 (+0100) Subject: doc: revert recent date(1) synopsis change X-Git-Tag: v8.26~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bbce2d2d76edc24caf0888888a1e20cf23151ef;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b85404b5c3..914aec7255 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 diff --git a/src/date.c b/src/date.c index a9a580c262..e73196b96c 100644 --- a/src/date.c +++ b/src/date.c @@ -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 (_("\