summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorRob Landley2006-02-21 05:06:42 +0000
committerRob Landley2006-02-21 05:06:42 +0000
commitc5789a6e234c1ddec204cf65f319babb04ca6a47 (patch)
tree02a1388c5a200f02cec6e228204ce64eb939eb30 /include/usage.h
parentbf28ed88349b4a04e3434728087619294dfe8e00 (diff)
downloadbusybox-c5789a6e234c1ddec204cf65f319babb04ca6a47.zip
busybox-c5789a6e234c1ddec204cf65f319babb04ca6a47.tar.gz
Walter Harms added -D to date, and I did a code cleanup while I was in the
area. Probably broke something...
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h
index 3272e91..3432d17 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -332,10 +332,13 @@
"\nOptions:\n" \
"\t-R\t\tOutputs RFC-822 compliant date string\n" \
"\t-d STRING\tDisplays time described by STRING, not `now'\n" \
- USAGE_DATE_ISOFMT("\t-I[TIMESPEC]\tOutputs an ISO-8601 compliant date/time string\n" \
- "\t\t\tTIMESPEC=`date' (or missing) for date only,\n" \
- "\t\t\t`hours', `minutes', or `seconds' for date and,\n" \
- "\t\t\ttime to the indicated precision\n") \
+ USAGE_DATE_ISOFMT( \
+ "\t-I[TIMESPEC]\tOutputs an ISO-8601 compliant date/time string\n" \
+ "\t\t\tTIMESPEC=`date' (or missing) for date only,\n" \
+ "\t\t\t`hours', `minutes', or `seconds' for date and,\n" \
+ "\t\t\ttime to the indicated precision\n" \
+ "\t-D hint\t\tUse 'hint' as date format, via strptime()\n" \
+ ) \
"\t-s\t\tSets time described by STRING\n" \
"\t-r FILE\t\tDisplays the last modification time of FILE\n" \
"\t-u\t\tPrints or sets Coordinated Universal Time"