summaryrefslogtreecommitdiff
path: root/bin/pax/tar.1
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-02-10 17:21:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-02-10 17:21:15 +0000
commitaea5adb130496bce7de5b541d8b725bc9f284c73 (patch)
treeb92be0ccd7d24e34aa34e419f7a07c65367e6319 /bin/pax/tar.1
parent0cc6cef656bf51980100db927e45298b340ef274 (diff)
Replace -T flag with more standard -I flag and make it work as a standard
argument (and thus work as in the 'packed' option form) as well as a positional argument. Our -T flag was basically equivalent to -I but different from gnutar's -T so -T gets thrown out.
Diffstat (limited to 'bin/pax/tar.1')
-rw-r--r--bin/pax/tar.130
1 files changed, 8 insertions, 22 deletions
diff --git a/bin/pax/tar.1 b/bin/pax/tar.1
index 3f64a9eb818..f46029c62eb 100644
--- a/bin/pax/tar.1
+++ b/bin/pax/tar.1
@@ -27,7 +27,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: tar.1,v 1.31 2001/02/07 19:43:10 millert Exp $
+.\" $OpenBSD: tar.1,v 1.32 2001/02/10 17:21:14 millert Exp $
.\"
.Dd February 7, 2001
.Dt TAR 1
@@ -38,14 +38,14 @@
.Sh SYNOPSIS
.Nm tar
.Sm off
-.Oo \&- Oc {crtux} Op befhmopqvwzHLOPXZ014578
+.Oo \&- Oc {crtux} Op befhmopqsvwzHLOPXZ014578
.Sm on
-.Op Ar archive
.Op Ar blocksize
+.Op Ar archive
+.Op Ar replstr
.\" XXX how to do this right?
.Op Fl C Ar directory
-.Op Fl T Ar file
-.Op Fl s Ar replstr
+.Op Fl I Ar file
.Op Ar file ...
.Sh DESCRIPTION
The
@@ -197,9 +197,6 @@ following files.
When extracting, files will be extracted into
the specified directory; when creating, the specified files will be matched
from the directory.
-This argument and its parameter may also appear in a file list specified by
-.Fl T ,
-but in this case it should be separated by a newline instead of whitespace.
.It Fl H
Follow symlinks given on command line only.
.It Fl L
@@ -209,14 +206,9 @@ Do not strip leading slashes
.Pq Sq /
from pathnames.
The default is to strip leading slashes.
-.It Fl T Ar file
-Read the names of files to archive or extract from the given file, one
-per line.
-A line may also specify the positional argument
-.Dq Fl C
-with the
-.Ar directory
-listed on the next line.
+.It Fl I Ar file
+This is a positional argument which reads the names of files to
+archive or extract from the given file, one per line.
.It Fl X
Do not cross mount points in the file system.
.It Fl Z
@@ -296,9 +288,3 @@ The
flag is not portable to other versions of
.Nm
where it may have a different meaning.
-.Pp
-Unlike some versions of
-.Nm tar ,
-when the
-.Fl T
-flag is specified other files may still be listed on the command line.