[git commit] date: extend help text to explain compat date format. Closes 4820

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 1 07:36:07 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=03a99e3d5c654d3dd8103199e20c8252dab8e091
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 coreutils/date.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/coreutils/date.c b/coreutils/date.c
index 6a7d5fa..767e0d4 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -129,6 +129,9 @@
 //usage:     "\n	[YYYY.]MM.DD-hh:mm[:ss]"
 //usage:     "\n	YYYY-MM-DD hh:mm[:ss]"
 //usage:     "\n	[[[[[YY]YY]MM]DD]hh]mm[.ss]"
+//usage:	IF_FEATURE_DATE_COMPAT(
+//usage:     "\n	'date TIME' form accepts MMDDhhmm[[YY]YY][.ss] instead"
+//usage:	)
 //usage:
 //usage:#define date_example_usage
 //usage:       "$ date\n"


More information about the busybox-cvs mailing list