summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h12
2 files changed, 15 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 0fd89c7..88aec8a 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -83,6 +83,9 @@
#ifdef BB_CP
APPLET(cp, cp_main, _BB_DIR_BIN)
#endif
+#ifdef BB_CPIO
+ APPLET(cpio, cpio_main, _BB_DIR_BIN)
+#endif
#ifdef BB_CUT
APPLET(cut, cut_main, _BB_DIR_USR_BIN)
#endif
diff --git a/include/usage.h b/include/usage.h
index 9fd3a2e..51a06b9 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -129,6 +129,18 @@
"\t-f\tforce (implied; ignored) - always set\n" \
"\t-R\tCopies directories recursively"
+#define cpio_trivial_usage \
+ "-[dimtuv][F cpiofile]"
+#define cpio_full_usage \
+ "Extract or list files from a cpio archive\n" \
+ "Main operation mode:\n" \
+ "\td\t\tmake directories (assumed)\n" \
+ "\ti\t\textract\n" \
+ "\tm\t\tpreserve time\n" \
+ "\tt\t\tlist\n" \
+ "\tu\t\tunconditional (assumed)\t" \
+ "\tF\t\tinput from file\t"
+
#define cut_trivial_usage \
"[OPTION]... [FILE]..."
#define cut_full_usage \