aboutsummaryrefslogtreecommitdiff
path: root/coreutils/date.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /coreutils/date.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'coreutils/date.c')
-rw-r--r--coreutils/date.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/coreutils/date.c b/coreutils/date.c
index 3ede1237c..b6fc6c686 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -39,17 +39,6 @@
39 an RFC 822 complient date output for shell scripting 39 an RFC 822 complient date output for shell scripting
40 mail commands */ 40 mail commands */
41 41
42static const char date_usage[] = "date [OPTION]... [+FORMAT]\n"
43 " or: date [OPTION] [MMDDhhmm[[CC]YY][.ss]]\n"
44#ifndef BB_FEATURE_TRIVIAL_HELP
45 "\nDisplays the current time in the given FORMAT, or sets the system date.\n"
46 "\nOptions:\n\t-R\tOutputs RFC-822 compliant date string\n"
47 "\t-s\tSets time described by STRING\n"
48 "\t-u\tPrints or sets Coordinated Universal Time\n"
49#endif
50 ;
51
52
53/* Input parsing code is always bulky - used heavy duty libc stuff as 42/* Input parsing code is always bulky - used heavy duty libc stuff as
54 much as possible, missed out a lot of bounds checking */ 43 much as possible, missed out a lot of bounds checking */
55 44