summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-09 20:23:03 +0100
committerDenys Vlasenko2010-01-09 20:23:03 +0100
commit607f65d17145e27c3daae6543d08743ab756043d (patch)
tree861faa0471065fbb8199b80cdc36a61ce3a894b8 /include
parent93ac7d8468feec562b468e87e1e04b0afdec0951 (diff)
downloadbusybox-607f65d17145e27c3daae6543d08743ab756043d.zip
busybox-607f65d17145e27c3daae6543d08743ab756043d.tar.gz
cpio: improve help text more; fix -p and -F interaction
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h
index 65836d8..7a5cbcc 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -560,8 +560,8 @@
"\n -l,-s Create (sym)links" \
#define cpio_trivial_usage \
- "[-ti" IF_FEATURE_CPIO_O("o") "]" IF_FEATURE_CPIO_P(" [-p DIR]") \
- " [-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]")
+ "[-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" \
@@ -573,7 +573,7 @@
"\n -t List" \
"\n -i Extract" \
IF_FEATURE_CPIO_O( \
- "\n -o Create" \
+ "\n -o Create (requires -H newc)" \
) \
IF_FEATURE_CPIO_P( \
"\n -p DIR Copy files to DIR" \
@@ -583,9 +583,9 @@
"\n -m Preserve mtime" \
"\n -v Verbose" \
"\n -u Overwrite" \
- "\n -F Input file" \
+ "\n -F FILE Input (-t,-i,-p) or output (-o) file" \
IF_FEATURE_CPIO_O( \
- "\n -H Define format" \
+ "\n -H newc Archive format" \
) \
#define crond_trivial_usage \