diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2000-08-25 03:50:10 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2000-08-25 03:50:10 +0000 |
commit | 06aeb6c417dd9d113949714486a6e6337ef70b97 (patch) | |
tree | 0f002c36314483775fa2a248ae1c8b5346c70030 /applets | |
parent | 4d5ac2f346d01e51cde9c44431067138bd586f36 (diff) | |
download | busybox-w32-06aeb6c417dd9d113949714486a6e6337ef70b97.tar.gz busybox-w32-06aeb6c417dd9d113949714486a6e6337ef70b97.tar.bz2 busybox-w32-06aeb6c417dd9d113949714486a6e6337ef70b97.zip |
ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions.
moved copySubFile from ar.c to utilities.c
modified dd.c to use fullWrite
modified copyFile in utilities.c to use copySubFile
Diffstat (limited to 'applets')
-rw-r--r-- | applets/usage.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/applets/usage.c b/applets/usage.c index 0dad1ba30..35f63db86 100644 --- a/applets/usage.c +++ b/applets/usage.c | |||
@@ -2,15 +2,15 @@ | |||
2 | 2 | ||
3 | #if defined BB_AR | 3 | #if defined BB_AR |
4 | const char ar_usage[] = | 4 | const char ar_usage[] = |
5 | "ar [optxvV] archive [filenames] \n" | 5 | "ar [[-ov] -tpv archive] filenames \n" |
6 | #ifndef BB_FEATURE_TRIVIAL_HELP | 6 | #ifndef BB_FEATURE_TRIVIAL_HELP |
7 | "\nExtract or list files from an ar archive.\n\n" | 7 | "\nExtract or list files from an ar archive.\n\n" |
8 | "Options:\n" | 8 | "Options:\n" |
9 | "\to\t\tpreserve original dates\n" | 9 | "\t-o\t\tpreserve original dates\n" |
10 | "\tp\t\textract to stdout\n" | 10 | "\t-p\t\textract to stdout\n" |
11 | "\tt\t\tlist\n" | 11 | "\t-t\t\tlist\n" |
12 | "\tx\t\textract\n" | 12 | "\t-x\t\textract\n" |
13 | "\tv\t\tverbosely list files processed\n" | 13 | "\t-v\t\tverbosely list files processed\n" |
14 | #endif | 14 | #endif |
15 | ; | 15 | ; |
16 | #endif | 16 | #endif |