aboutsummaryrefslogtreecommitdiff
path: root/dd.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /dd.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
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;