summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorErik Andersen2000-04-21 01:26:49 +0000
committerErik Andersen2000-04-21 01:26:49 +0000
commit1d1d95051a288b6bf64498aac9fb20047f384b7d (patch)
tree2c99ce8ba7d4d592806fbf81899e663bc884676b /date.c
parentcf8d38a3eb46f4f9c4e674d43cff486cd79c9c0f (diff)
downloadbusybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.zip
busybox-1d1d95051a288b6bf64498aac9fb20047f384b7d.tar.gz
More Doc updates. cmdedit and more termio fixes.
Diffstat (limited to 'date.c')
-rw-r--r--date.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/date.c b/date.c
index 25ce05d..dd054be 100644
--- a/date.c
+++ b/date.c
@@ -40,12 +40,14 @@
mail commands */
static const char date_usage[] = "date [OPTION]... [+FORMAT]\n"
- " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n\n"
- "Display the current time in the given FORMAT, or set the system date.\n"
- "\nOptions:\n\t-R\t\toutput RFC-822 compliant date string\n"
- "\t-s\t\tset time described by STRING\n"
-
- "\t-u\t\tprint or set Coordinated Universal Time\n";
+ " 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"
+#endif
+ ;
/* Input parsing code is always bulky - used heavy duty libc stuff as