aboutsummaryrefslogtreecommitdiff
path: root/dd.c
diff options
context:
space:
mode:
Diffstat (limited to 'dd.c')
-rw-r--r--dd.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/dd.c b/dd.c
index 303500008..5d9993d8b 100644
--- a/dd.c
+++ b/dd.c
@@ -41,17 +41,19 @@ typedef unsigned long long int uintmax_t;
41#endif 41#endif
42 42
43static const char dd_usage[] = 43static 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