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:
@@ -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
|
||||
|
Reference in New Issue
Block a user