aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-11-29 22:01:42 +0000
committerEric Andersen <andersen@codepoet.org>2000-11-29 22:01:42 +0000
commit7b5d59464fa19dbb15620928cc22c448206489c2 (patch)
treeb5bbc50d742a31cf498e138686cae67659d2c251 /applets
parentcf1189f5a709ed52f862775af63dbf75b8124ccd (diff)
downloadbusybox-w32-7b5d59464fa19dbb15620928cc22c448206489c2.tar.gz
busybox-w32-7b5d59464fa19dbb15620928cc22c448206489c2.tar.bz2
busybox-w32-7b5d59464fa19dbb15620928cc22c448206489c2.zip
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')
-rw-r--r--applets/usage.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 93fbf42b9..a919a58f7 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -140,9 +140,10 @@ const char date_usage[] =
140 " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n" 140 " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n"
141#ifndef BB_FEATURE_TRIVIAL_HELP 141#ifndef BB_FEATURE_TRIVIAL_HELP
142 "\nDisplays the current time in the given FORMAT, or sets the system date.\n" 142 "\nDisplays the current time in the given FORMAT, or sets the system date.\n"
143 "\nOptions:\n\t-R\tOutputs RFC-822 compliant date string\n" 143 "\nOptions:\n\t-R\t\tOutputs RFC-822 compliant date string\n"
144 "\t-s\tSets time described by STRING\n" 144 "\t-d STRING\tdisplay time described by STRING, not `now'\n"
145 "\t-u\tPrints or sets Coordinated Universal Time\n" 145 "\t-s\t\tSets time described by STRING\n"
146 "\t-u\t\tPrints or sets Coordinated Universal Time\n"
146#endif 147#endif
147 ; 148 ;
148#endif 149#endif