diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /dd.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-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.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; |