diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-10 23:13:02 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 1999-11-10 23:13:02 +0000 |
commit | fe675f24f8afae61702b3e2aee9af34dd84a4d5b (patch) | |
tree | 3e448e6550da52d2709e5f52fbae56e9df9462cc /dd.c | |
parent | 51abdb45dd5418cdf8355e5c314307771f9b8c37 (diff) | |
download | busybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.tar.gz busybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.tar.bz2 busybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.zip |
Updates to usage, and made tar work.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dd.c')
-rw-r--r-- | dd.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -34,7 +34,7 @@ | |||
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | 35 | ||
36 | static const char dd_usage[] = | 36 | static const char dd_usage[] = |
37 | "dd [if=name] [of=name] [bs=n] [count=n]\n" | 37 | "dd [if=name] [of=name] [bs=n] [count=n]\n\n" |
38 | "Copy a file, converting and formatting according to options\n\n" | 38 | "Copy a file, converting and formatting according to options\n\n" |
39 | "\tif=FILE\tread from FILE instead of stdin\n" | 39 | "\tif=FILE\tread from FILE instead of stdin\n" |
40 | "\tof=FILE\twrite to FILE instead of stout\n" | 40 | "\tof=FILE\twrite to FILE instead of stout\n" |
@@ -227,8 +227,7 @@ extern int dd_main (int argc, char **argv) | |||
227 | exit( TRUE); | 227 | exit( TRUE); |
228 | usage: | 228 | usage: |
229 | 229 | ||
230 | fprintf (stderr, "%s", dd_usage); | 230 | usage( dd_usage); |
231 | exit( FALSE); | ||
232 | } | 231 | } |
233 | 232 | ||
234 | 233 | ||