[git commit] date: improve help text for -D

Denys Vlasenko vda.linux at googlemail.com
Wed Jan 9 11:58:52 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=ecf02e8b83056b2ac36d9e09c0a8c9bff8bfecd1
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

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

diff --git a/coreutils/date.c b/coreutils/date.c
index 9cbc7302f..3414d38ae 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -54,7 +54,7 @@
 //config:	date -s (and other commands like touch -d) use more sensible
 //config:	formats (for one, ISO format YYYY-MM-DD hh:mm:ss.ssssss).
 //config:
-//config:	With this option off, 'date DATE' is 'date -s DATE' support
+//config:	With this option off, 'date DATE' and 'date -s DATE' support
 //config:	the same format. With it on, 'date DATE' additionally supports
 //config:	MMDDhhmm[[YY]YY][.ss] format.
 
@@ -121,7 +121,7 @@
 //usage:     "\n	-d,--date TIME	Display TIME, not 'now'"
 //usage:	)
 //usage:	IF_FEATURE_DATE_ISOFMT(
-//usage:     "\n	-D FMT		Use FMT for -d TIME conversion"
+//usage:     "\n	-D FMT		Use FMT (strptime format) for -d TIME conversion"
 //usage:	)
 //usage:     "\n"
 //usage:     "\nRecognized TIME formats:"


More information about the busybox-cvs mailing list