diff options
Diffstat (limited to 'date.c')
-rw-r--r-- | date.c | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -40,12 +40,14 @@ | |||
40 | mail commands */ | 40 | mail commands */ |
41 | 41 | ||
42 | static const char date_usage[] = "date [OPTION]... [+FORMAT]\n" | 42 | static const char date_usage[] = "date [OPTION]... [+FORMAT]\n" |
43 | " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n\n" | 43 | " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n" |
44 | "Display the current time in the given FORMAT, or set the system date.\n" | 44 | #ifndef BB_FEATURE_TRIVIAL_HELP |
45 | "\nOptions:\n\t-R\t\toutput RFC-822 compliant date string\n" | 45 | "\nDisplays the current time in the given FORMAT, or sets the system date.\n" |
46 | "\t-s\t\tset time described by STRING\n" | 46 | "\nOptions:\n\t-R\tOutputs RFC-822 compliant date string\n" |
47 | 47 | "\t-s\tSets time described by STRING\n" | |
48 | "\t-u\t\tprint or set Coordinated Universal Time\n"; | 48 | "\t-u\tPrints or sets Coordinated Universal Time\n" |
49 | #endif | ||
50 | ; | ||
49 | 51 | ||
50 | 52 | ||
51 | /* Input parsing code is always bulky - used heavy duty libc stuff as | 53 | /* Input parsing code is always bulky - used heavy duty libc stuff as |