aboutsummaryrefslogtreecommitdiff
path: root/dd.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 /dd.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 'dd.c')
-rw-r--r--dd.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/dd.c b/dd.c
index 6261dfef5..86899194c 100644
--- a/dd.c
+++ b/dd.c
@@ -40,23 +40,6 @@
40typedef unsigned long long int uintmax_t; 40typedef unsigned long long int uintmax_t;
41#endif 41#endif
42 42
43static const char dd_usage[] =
44 "dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]\n"
45#ifndef BB_FEATURE_TRIVIAL_HELP
46 "\nCopy a file, converting and formatting according to options\n\n"
47 "\tif=FILE\tread from FILE instead of stdin\n"
48 "\tof=FILE\twrite to FILE instead of stdout\n"
49 "\tbs=N\tread and write N bytes at a time\n"
50 "\tcount=N\tcopy only N input blocks\n"
51 "\tskip=N\tskip N input blocks\n"
52 "\tseek=N\tskip N output blocks\n"
53 "\n"
54 "Numbers may be suffixed by w (x2), k (x1024), b (x512), or M (x1024^2)\n"
55#endif
56 ;
57
58
59
60extern int dd_main(int argc, char **argv) 43extern int dd_main(int argc, char **argv)
61{ 44{
62 char *inFile = NULL; 45 char *inFile = NULL;