From 5bbce2d2d76edc24caf0888888a1e20cf23151ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Thu, 28 Jul 2016 12:38:20 +0100 Subject: [PATCH] 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 --- doc/coreutils.texi | 2 +- src/date.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 (_("\ -- 2.47.2