diff options
author | Denys Vlasenko | 2010-12-26 02:22:51 +0100 |
---|---|---|
committer | Denys Vlasenko | 2010-12-26 02:22:51 +0100 |
commit | 1f937d64686d9a71c9325f2e9b23eba235a9255e (patch) | |
tree | 3e29f011ed2cb42a3da8ba751b392cb961779a82 /include | |
parent | e4e911e7124fca9116ca14c31f125b687d0ae57e (diff) | |
download | busybox-1f937d64686d9a71c9325f2e9b23eba235a9255e.zip busybox-1f937d64686d9a71c9325f2e9b23eba235a9255e.tar.gz |
cpio: allow cpio -i to take params - names of files to extract
Also, improve help text
function old new delta
packed_usage 28028 28035 +7
cpio_main 542 532 -10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 7/-10) Total: -3 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.src.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index 4640338..69a9fa1 100644 --- a/include/usage.src.h +++ b/include/usage.src.h @@ -592,35 +592,6 @@ INSERT "\n -i Prompt before overwrite" \ "\n -l,-s Create (sym)links" \ -#define cpio_trivial_usage \ - "[-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]") \ - " [-ti"IF_FEATURE_CPIO_O("o")"]" IF_FEATURE_CPIO_P(" [-p DIR]") -#define cpio_full_usage "\n\n" \ - "Extract or list files from a cpio archive" \ - IF_FEATURE_CPIO_O(", or" \ - "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \ - " using file list on stdin" \ - ) \ - "\n" \ - "\nMain operation mode:" \ - "\n -t List" \ - "\n -i Extract" \ - IF_FEATURE_CPIO_O( \ - "\n -o Create (requires -H newc)" \ - ) \ - IF_FEATURE_CPIO_P( \ - "\n -p DIR Copy files to DIR" \ - ) \ - "\nOptions:" \ - "\n -d Make leading directories" \ - "\n -m Preserve mtime" \ - "\n -v Verbose" \ - "\n -u Overwrite" \ - "\n -F FILE Input (-t,-i,-p) or output (-o) file" \ - IF_FEATURE_CPIO_O( \ - "\n -H newc Archive format" \ - ) \ - #define crond_trivial_usage \ "-fbS -l N " IF_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" #define crond_full_usage "\n\n" \ |