aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-29 22:01:42 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-29 22:01:42 +0000
commit2ebf521f8ff95fd06a164b6048753010a8dd9b48 (patch)
treeb5bbc50d742a31cf498e138686cae67659d2c251 /applets
parent73a08d1f6968b4fc7b9131d5133703e3766e981e (diff)
downloadbusybox-w32-2ebf521f8ff95fd06a164b6048753010a8dd9b48.tar.gz
busybox-w32-2ebf521f8ff95fd06a164b6048753010a8dd9b48.tar.bz2
busybox-w32-2ebf521f8ff95fd06a164b6048753010a8dd9b48.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. git-svn-id: svn://busybox.net/trunk/busybox@1346 69ca8d6d-28ef-0310-b511-8ec308f3f277
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