diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-16 20:57:15 +0000 |
commit | bf181b9338152759fd56c8009e9a962a84808e7c (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /dd.c | |
parent | 3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff) | |
download | busybox-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.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -40,23 +40,6 @@ | |||
40 | typedef unsigned long long int uintmax_t; | 40 | typedef unsigned long long int uintmax_t; |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | static 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 | |||
60 | extern int dd_main(int argc, char **argv) | 43 | extern int dd_main(int argc, char **argv) |
61 | { | 44 | { |
62 | char *inFile = NULL; | 45 | char *inFile = NULL; |