summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-01-09 19:56:15 +0100
committerDenys Vlasenko2010-01-09 19:56:15 +0100
commit93ac7d8468feec562b468e87e1e04b0afdec0951 (patch)
treefa45240bf23cdf232f4b76b2d1321d4b29fff146 /include
parentdc698bb038756a926aaa529bda1b939eab2c1676 (diff)
downloadbusybox-93ac7d8468feec562b468e87e1e04b0afdec0951.zip
busybox-93ac7d8468feec562b468e87e1e04b0afdec0951.tar.gz
cpio: improve help text; document two TODOs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h
index 8c11ac4..65836d8 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -560,11 +560,15 @@
"\n -l,-s Create (sym)links" \
#define cpio_trivial_usage \
- "-[ti" IF_FEATURE_CPIO_O("o") IF_FEATURE_CPIO_P("p") "dmvu] [-F FILE]" \
- IF_FEATURE_CPIO_O( " [-H newc]" )
+ "[-ti" IF_FEATURE_CPIO_O("o") "]" IF_FEATURE_CPIO_P(" [-p DIR]") \
+ " [-dmvu] [-F FILE]" IF_FEATURE_CPIO_O(" [-H newc]")
#define cpio_full_usage "\n\n" \
"Extract or list files from a cpio archive" \
- IF_FEATURE_CPIO_O( ", or create a cpio archive" ) \
+ IF_FEATURE_CPIO_O(", or" \
+ "\ncreate an archive" IF_FEATURE_CPIO_P(" (-o) or copy files (-p)") \
+ " using file list on standard input" \
+ ) \
+ "\n" \
"\nMain operation mode:" \
"\n -t List" \
"\n -i Extract" \
@@ -572,7 +576,7 @@
"\n -o Create" \
) \
IF_FEATURE_CPIO_P( \
- "\n -p Passthrough" \
+ "\n -p DIR Copy files to DIR" \
) \
"\nOptions:" \
"\n -d Make leading directories" \