diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h index 0e3ecae05..9ec25c49f 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -370,19 +370,23 @@ USE_FEATURE_DATE_ISOFMT( \ | |||
370 | "64\n" | 370 | "64\n" |
371 | 371 | ||
372 | #define dd_trivial_usage \ | 372 | #define dd_trivial_usage \ |
373 | "[if=FILE] [of=FILE] [bs=N] [count=N] [skip=N]\n" \ | 373 | "[if=FILE] [of=FILE] " USE_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ |
374 | "\t [seek=N] [conv=notrunc|noerror|sync]" | 374 | "\t [seek=N]" USE_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync]") |
375 | #define dd_full_usage \ | 375 | #define dd_full_usage \ |
376 | "Copy a file, converting and formatting according to options\n\n" \ | 376 | "Copy a file, converting and formatting according to options\n\n" \ |
377 | "\tif=FILE\t\tread from FILE instead of stdin\n" \ | 377 | "\tif=FILE\t\tread from FILE instead of stdin\n" \ |
378 | "\tof=FILE\t\twrite to FILE instead of stdout\n" \ | 378 | "\tof=FILE\t\twrite to FILE instead of stdout\n" \ |
379 | "\tbs=N\t\tread and write N bytes at a time\n" \ | 379 | "\tbs=N\t\tread and write N bytes at a time\n" \ |
380 | USE_FEATURE_DD_IBS_OBS("\tibs=N\t\tread N bytes at a time\n") \ | ||
381 | USE_FEATURE_DD_IBS_OBS("\tobs=N\t\twrite N bytes at a time\n") \ | ||
380 | "\tcount=N\t\tcopy only N input blocks\n" \ | 382 | "\tcount=N\t\tcopy only N input blocks\n" \ |
381 | "\tskip=N\t\tskip N input blocks\n" \ | 383 | "\tskip=N\t\tskip N input blocks\n" \ |
382 | "\tseek=N\t\tskip N output blocks\n" \ | 384 | "\tseek=N\t\tskip N output blocks\n" \ |
383 | "\tconv=notrunc\tdon't truncate output file\n" \ | 385 | USE_FEATURE_DD_IBS_OBS( \ |
384 | "\tconv=noerror\tcontinue after read errors\n" \ | 386 | "\tconv=notrunc\tdon't truncate output file\n" \ |
385 | "\tconv=sync\tpad blocks with zeros\n" \ | 387 | "\tconv=noerror\tcontinue after read errors\n" \ |
388 | "\tconv=sync\tpad blocks with zeros\n" \ | ||
389 | ) \ | ||
386 | "\n" \ | 390 | "\n" \ |
387 | "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" \ | 391 | "Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),\n" \ |
388 | "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)" | 392 | "MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)" |