diff options
author | Denis Vlasenko | 2008-04-05 00:07:46 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-04-05 00:07:46 +0000 |
commit | 261f237024d9881e110f271fb575728f666b25b4 (patch) | |
tree | c643d8289cc1bf5e98a245d3857d23c4403050d5 /include | |
parent | 7f8f0fafdbe59a2c32894f729955c1ad65e5a4ce (diff) | |
download | busybox-261f237024d9881e110f271fb575728f666b25b4.zip busybox-261f237024d9881e110f271fb575728f666b25b4.tar.gz |
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 529a228..0849c68 100644 --- a/include/usage.h +++ b/include/usage.h @@ -509,13 +509,20 @@ "\n -l,-s Create (sym)links" \ #define cpio_trivial_usage \ - "-[dimtuv][F cpiofile]" + "-[dim" USE_FEATURE_CPIO_O("o") "tuv][F cpiofile]" \ + USE_FEATURE_CPIO_O( "[H newc]" ) #define cpio_full_usage \ - "Extract or list files from a cpio archive\n" \ + "Extract or list files from a cpio archive" \ + USE_FEATURE_CPIO_O( ", or create a cpio archive" ) \ + "\n" \ "Main operation mode:" \ "\n d Make leading directories" \ "\n i Extract" \ "\n m Preserve mtime" \ + USE_FEATURE_CPIO_O( \ + "\n o Create" \ + "\n H newc Define format" \ + ) \ "\n t List" \ "\n v Verbose" \ "\n u Unconditional overwrite" \ |