aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.1
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/ar.1')
-rw-r--r--binutils/ar.138
1 files changed, 25 insertions, 13 deletions
diff --git a/binutils/ar.1 b/binutils/ar.1
index 5a9a9d5..cd71a40 100644
--- a/binutils/ar.1
+++ b/binutils/ar.1
@@ -14,10 +14,13 @@ ar \- create, modify, and extract from archives.
.hy 0
.na
.BR ar " [\|" "-" "\|]"\c
-.I {dmpqrtx}[abcilosSuvV] \c
+.I {dmpqrtx}[abcfilNoPsSuvV] \c
[\|\c
.I membername\c
\&\|] \c
+[\|\c
+.I count\c
+\&\|] \c
.I archive\c
\& \c
.I files\c
@@ -385,18 +388,6 @@ modifier may be used to truncate file names when putting them in the
archive.
.TP
-.B P
-Use the full path name when matching names in the archive.
-.B ar
-can not create an archive with a full path name (such archives are not
-POSIX complaint), but other archive creators can. This option will
-cause
-.B ar
-to match file names using a complete path name, which can be
-convenient when extracting a single file from an archive created by
-another tool.
-
-.TP
.B i
Insert new files \c
.I before\c
@@ -418,6 +409,15 @@ member must be present as the \c
This modifier is accepted but not used.
.TP
+.B N
+Uses the
+.I count
+parameter. This is used if there are multiple entries in the archive
+with the same name. Extract or delete instance
+.I count
+of the given name from the archive.
+
+.TP
.B o
Preserve the \c
.I original\c
@@ -426,6 +426,18 @@ you do not specify this modifier, files extracted from the archive
will be stamped with the time of extraction.
.TP
+.B P
+Use the full path name when matching names in the archive.
+.B ar
+can not create an archive with a full path name (such archives are not
+POSIX complaint), but other archive creators can. This option will
+cause
+.B ar
+to match file names using a complete path name, which can be
+convenient when extracting a single file from an archive created by
+another tool.
+
+.TP
.B s
Write an object-file index into the archive, or update an existing one,
even if no other change is made to the archive. You may use this modifier