diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-09 19:56:15 +0100 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-01-09 19:56:15 +0100 |
| commit | 93ac7d8468feec562b468e87e1e04b0afdec0951 (patch) | |
| tree | fa45240bf23cdf232f4b76b2d1321d4b29fff146 /include | |
| parent | dc698bb038756a926aaa529bda1b939eab2c1676 (diff) | |
| download | busybox-w32-93ac7d8468feec562b468e87e1e04b0afdec0951.tar.gz busybox-w32-93ac7d8468feec562b468e87e1e04b0afdec0951.tar.bz2 busybox-w32-93ac7d8468feec562b468e87e1e04b0afdec0951.zip | |
cpio: improve help text; document two TODOs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h index 8c11ac466..65836d8ce 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -560,11 +560,15 @@ | |||
| 560 | "\n -l,-s Create (sym)links" \ | 560 | "\n -l,-s Create (sym)links" \ |
| 561 | 561 | ||
| 562 | #define cpio_trivial_usage \ | 562 | #define cpio_trivial_usage \ |
| 563 | "-[ti" IF_FEATURE_CPIO_O("o") IF_FEATURE_CPIO_P("p") "dmvu] [-F FILE]" \ | 563 | "[-ti" IF_FEATURE_CPIO_O("o") "]" IF_FEATURE_CPIO_P(" [-p DIR]") \ |
| 564 | IF_FEATURE_CPIO_O( " [-H newc]" ) | 564 | " [-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]") |
| 565 | #define cpio_full_usage "\n\n" \ | 565 | #define cpio_full_usage "\n\n" \ |
| 566 | "Extract or list files from a cpio archive" \ | 566 | "Extract or list files from a cpio archive" \ |
| 567 | IF_FEATURE_CPIO_O( ", or create a cpio archive" ) \ | 567 | IF_FEATURE_CPIO_O(", or" \ |
| 568 | "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \ | ||
| 569 | " using file list on standard input" \ | ||
| 570 | ) \ | ||
| 571 | "\n" \ | ||
| 568 | "\nMain operation mode:" \ | 572 | "\nMain operation mode:" \ |
| 569 | "\n -t List" \ | 573 | "\n -t List" \ |
| 570 | "\n -i Extract" \ | 574 | "\n -i Extract" \ |
| @@ -572,7 +576,7 @@ | |||
| 572 | "\n -o Create" \ | 576 | "\n -o Create" \ |
| 573 | ) \ | 577 | ) \ |
| 574 | IF_FEATURE_CPIO_P( \ | 578 | IF_FEATURE_CPIO_P( \ |
| 575 | "\n -p Passthrough" \ | 579 | "\n -p DIR Copy files to DIR" \ |
| 576 | ) \ | 580 | ) \ |
| 577 | "\nOptions:" \ | 581 | "\nOptions:" \ |
| 578 | "\n -d Make leading directories" \ | 582 | "\n -d Make leading directories" \ |
