diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-05 00:07:46 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-04-05 00:07:46 +0000 |
commit | 261f237024d9881e110f271fb575728f666b25b4 (patch) | |
tree | c643d8289cc1bf5e98a245d3857d23c4403050d5 /include | |
parent | 7f8f0fafdbe59a2c32894f729955c1ad65e5a4ce (diff) | |
download | busybox-w32-261f237024d9881e110f271fb575728f666b25b4.tar.gz busybox-w32-261f237024d9881e110f271fb575728f666b25b4.tar.bz2 busybox-w32-261f237024d9881e110f271fb575728f666b25b4.zip |
cpio: optional support for writing cpio files in newc format.
by pascal.bellard AT ads-lu.com.
function old new delta
cpio_main 247 1122 +875
cpio_pad4 - 58 +58
gnu_dev_major 66 99 +33
gnu_dev_minor 38 57 +19
packed_usage 23964 23978 +14
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 999/0) Total: 999 bytes
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 529a228ec..0849c6831 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -509,13 +509,20 @@ | |||
509 | "\n -l,-s Create (sym)links" \ | 509 | "\n -l,-s Create (sym)links" \ |
510 | 510 | ||
511 | #define cpio_trivial_usage \ | 511 | #define cpio_trivial_usage \ |
512 | "-[dimtuv][F cpiofile]" | 512 | "-[dim" USE_FEATURE_CPIO_O("o") "tuv][F cpiofile]" \ |
513 | USE_FEATURE_CPIO_O( "[H newc]" ) | ||
513 | #define cpio_full_usage \ | 514 | #define cpio_full_usage \ |
514 | "Extract or list files from a cpio archive\n" \ | 515 | "Extract or list files from a cpio archive" \ |
516 | USE_FEATURE_CPIO_O( ", or create a cpio archive" ) \ | ||
517 | "\n" \ | ||
515 | "Main operation mode:" \ | 518 | "Main operation mode:" \ |
516 | "\n d Make leading directories" \ | 519 | "\n d Make leading directories" \ |
517 | "\n i Extract" \ | 520 | "\n i Extract" \ |
518 | "\n m Preserve mtime" \ | 521 | "\n m Preserve mtime" \ |
522 | USE_FEATURE_CPIO_O( \ | ||
523 | "\n o Create" \ | ||
524 | "\n H newc Define format" \ | ||
525 | ) \ | ||
519 | "\n t List" \ | 526 | "\n t List" \ |
520 | "\n v Verbose" \ | 527 | "\n v Verbose" \ |
521 | "\n u Unconditional overwrite" \ | 528 | "\n u Unconditional overwrite" \ |