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.
This commit is contained in:
Eric Andersen
2000-11-29 22:01:42 +00:00
parent cf1189f5a7
commit 7b5d59464f
4 changed files with 82 additions and 112 deletions

View File

@@ -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