diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-10 05:05:45 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-05-10 05:05:45 +0000 |
commit | fd673823274fa906565261a2379e0220da57d25c (patch) | |
tree | 8db9c40b68387c1017007f5265e45c2a66ccfb0d /dd.c | |
parent | e144dae9090513ce4d585206c5537ee105279792 (diff) | |
download | busybox-w32-fd673823274fa906565261a2379e0220da57d25c.tar.gz busybox-w32-fd673823274fa906565261a2379e0220da57d25c.tar.bz2 busybox-w32-fd673823274fa906565261a2379e0220da57d25c.zip |
* cp -fa now works as expected for symlinks (it didn't before)
* zcat works again (wasn't working since option parsing was broken)
* more doc updates/more support for BB_FEATURE_SIMPLE_HELP
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@530 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dd.c')
-rw-r--r-- | dd.c | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -41,17 +41,19 @@ typedef unsigned long long int uintmax_t; | |||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | static const char dd_usage[] = | 43 | static const char dd_usage[] = |
44 | "dd [if=name] [of=name] [bs=n] [count=n] [skip=n] [seek=n]\n\n" | 44 | "dd [if=FILE] [of=FILE] [bs=N] [count=N] [skip=N] [seek=N]\n" |
45 | "Copy a file, converting and formatting according to options\n\n" | 45 | #ifndef BB_FEATURE_TRIVIAL_HELP |
46 | "\nCopy a file, converting and formatting according to options\n\n" | ||
46 | "\tif=FILE\tread from FILE instead of stdin\n" | 47 | "\tif=FILE\tread from FILE instead of stdin\n" |
47 | "\tof=FILE\twrite to FILE instead of stdout\n" | 48 | "\tof=FILE\twrite to FILE instead of stdout\n" |
48 | "\tbs=n\tread and write n bytes at a time\n" | 49 | "\tbs=N\tread and write N bytes at a time\n" |
49 | "\tcount=n\tcopy only n input blocks\n" | 50 | "\tcount=N\tcopy only N input blocks\n" |
50 | "\tskip=n\tskip n input blocks\n" | 51 | "\tskip=N\tskip N input blocks\n" |
51 | "\tseek=n\tskip n output blocks\n" | 52 | "\tseek=N\tskip N output blocks\n" |
52 | |||
53 | "\n" | 53 | "\n" |
54 | "Numbers may be suffixed by w (x2), k (x1024), b (x512), or M (x1024^2)\n"; | 54 | "Numbers may be suffixed by w (x2), k (x1024), b (x512), or M (x1024^2)\n" |
55 | #endif | ||
56 | ; | ||
55 | 57 | ||
56 | 58 | ||
57 | 59 | ||