summaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen2000-11-29 22:01:42 +0000
committerEric Andersen2000-11-29 22:01:42 +0000
commit7b5d59464fa19dbb15620928cc22c448206489c2 (patch)
treeb5bbc50d742a31cf498e138686cae67659d2c251 /applets/usage.c
parentcf1189f5a709ed52f862775af63dbf75b8124ccd (diff)
downloadbusybox-7b5d59464fa19dbb15620928cc22c448206489c2.zip
busybox-7b5d59464fa19dbb15620928cc22c448206489c2.tar.gz
Apply a patch from Larry Doolittle <ldoolitt@recycle.lbl.gov> to close
bug 1069. This shaves about 100 bytes from the executable, and about 200 bytes of heap usage. Also document the "-d" option in the usage message.
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 93fbf42..a919a58 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -140,9 +140,10 @@ const char date_usage[] =
" or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\nDisplays the current time in the given FORMAT, or sets the system date.\n"
- "\nOptions:\n\t-R\tOutputs RFC-822 compliant date string\n"
- "\t-s\tSets time described by STRING\n"
- "\t-u\tPrints or sets Coordinated Universal Time\n"
+ "\nOptions:\n\t-R\t\tOutputs RFC-822 compliant date string\n"
+ "\t-d STRING\tdisplay time described by STRING, not `now'\n"
+ "\t-s\t\tSets time described by STRING\n"
+ "\t-u\t\tPrints or sets Coordinated Universal Time\n"
#endif
;
#endif