summaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorGlenn L McGrath2000-08-25 03:50:10 +0000
committerGlenn L McGrath2000-08-25 03:50:10 +0000
commit06aeb6c417dd9d113949714486a6e6337ef70b97 (patch)
tree0f002c36314483775fa2a248ae1c8b5346c70030 /usage.c
parent4d5ac2f346d01e51cde9c44431067138bd586f36 (diff)
downloadbusybox-06aeb6c417dd9d113949714486a6e6337ef70b97.zip
busybox-06aeb6c417dd9d113949714486a6e6337ef70b97.tar.gz
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 'usage.c')
-rw-r--r--usage.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usage.c b/usage.c
index 0dad1ba..35f63db 100644
--- a/usage.c
+++ b/usage.c
@@ -2,15 +2,15 @@
#if defined BB_AR
const char ar_usage[] =
- "ar [optxvV] archive [filenames] \n"
+ "ar [[-ov] -tpv archive] filenames \n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\nExtract or list files from an ar archive.\n\n"
"Options:\n"
- "\to\t\tpreserve original dates\n"
- "\tp\t\textract to stdout\n"
- "\tt\t\tlist\n"
- "\tx\t\textract\n"
- "\tv\t\tverbosely list files processed\n"
+ "\t-o\t\tpreserve original dates\n"
+ "\t-p\t\textract to stdout\n"
+ "\t-t\t\tlist\n"
+ "\t-x\t\textract\n"
+ "\t-v\t\tverbosely list files processed\n"
#endif
;
#endif