diff options
author | Glenn L McGrath | 2001-06-22 09:22:06 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-06-22 09:22:06 +0000 |
commit | 8f5b63edea12501b998400789da5646140bb9911 (patch) | |
tree | 5a1924092009892cc80f0b0947ec1bae17ca3b1c /include | |
parent | 52a97ca00cf5d290c9beb65ba7c217a5ed69ee42 (diff) | |
download | busybox-8f5b63edea12501b998400789da5646140bb9911.zip busybox-8f5b63edea12501b998400789da5646140bb9911.tar.gz |
cpio applet, and changes to associated code
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 12 |
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 \ |