diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-12-26 02:22:51 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-12-26 02:22:51 +0100 |
commit | 1f937d64686d9a71c9325f2e9b23eba235a9255e (patch) | |
tree | 3e29f011ed2cb42a3da8ba751b392cb961779a82 /include | |
parent | e4e911e7124fca9116ca14c31f125b687d0ae57e (diff) | |
download | busybox-w32-1f937d64686d9a71c9325f2e9b23eba235a9255e.tar.gz busybox-w32-1f937d64686d9a71c9325f2e9b23eba235a9255e.tar.bz2 busybox-w32-1f937d64686d9a71c9325f2e9b23eba235a9255e.zip |
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 4640338e6..69a9fa159 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -592,35 +592,6 @@ INSERT | |||
592 | "\n -i Prompt before overwrite" \ | 592 | "\n -i Prompt before overwrite" \ |
593 | "\n -l,-s Create (sym)links" \ | 593 | "\n -l,-s Create (sym)links" \ |
594 | 594 | ||
595 | #define cpio_trivial_usage \ | ||
596 | "[-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]") \ | ||
597 | " [-ti"IF_FEATURE_CPIO_O("o")"]" IF_FEATURE_CPIO_P(" [-p DIR]") | ||
598 | #define cpio_full_usage "\n\n" \ | ||
599 | "Extract or list files from a cpio archive" \ | ||
600 | IF_FEATURE_CPIO_O(", or" \ | ||
601 | "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \ | ||
602 | " using file list on stdin" \ | ||
603 | ) \ | ||
604 | "\n" \ | ||
605 | "\nMain operation mode:" \ | ||
606 | "\n -t List" \ | ||
607 | "\n -i Extract" \ | ||
608 | IF_FEATURE_CPIO_O( \ | ||
609 | "\n -o Create (requires -H newc)" \ | ||
610 | ) \ | ||
611 | IF_FEATURE_CPIO_P( \ | ||
612 | "\n -p DIR Copy files to DIR" \ | ||
613 | ) \ | ||
614 | "\nOptions:" \ | ||
615 | "\n -d Make leading directories" \ | ||
616 | "\n -m Preserve mtime" \ | ||
617 | "\n -v Verbose" \ | ||
618 | "\n -u Overwrite" \ | ||
619 | "\n -F FILE Input (-t,-i,-p) or output (-o) file" \ | ||
620 | IF_FEATURE_CPIO_O( \ | ||
621 | "\n -H newc Archive format" \ | ||
622 | ) \ | ||
623 | |||
624 | #define crond_trivial_usage \ | 595 | #define crond_trivial_usage \ |
625 | "-fbS -l N " IF_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" | 596 | "-fbS -l N " IF_FEATURE_CROND_D("-d N ") "-L LOGFILE -c DIR" |
626 | #define crond_full_usage "\n\n" \ | 597 | #define crond_full_usage "\n\n" \ |