summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorsimon <simon@FreeBSD.org>2008-07-26 17:22:40 +0000
committersimon <simon@FreeBSD.org>2008-07-26 17:22:40 +0000
commit704f4970806f0c584df86fef1f32e9d202a3574a (patch)
tree7c42c5a6c8f4c8f9fd1c7c0dc400d98285f59145 /usr.bin
parent2e7d905af740dd6e7eefac495be8104afaa7e96f (diff)
downloadFreeBSD-src-704f4970806f0c584df86fef1f32e9d202a3574a.zip
FreeBSD-src-704f4970806f0c584df86fef1f32e9d202a3574a.tar.gz
- Fix mtree example so it works.
- Document --version. Reviewed by: kientzle MFC after: 1 week
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tar/bsdtar.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1
index 0dc4dee..02b301d 100644
--- a/usr.bin/tar/bsdtar.1
+++ b/usr.bin/tar/bsdtar.1
@@ -412,6 +412,12 @@ will produce output similar to that of
Additional
.Fl v
options will provide additional detail.
+.It Fl -version
+Print version of
+.Nm
+and
+.Nm libarchive ,
+and exit.
.It Fl W Ar longopt=value
Long options (preceded by
.Fl - )
@@ -544,6 +550,7 @@ format can be used to create an output archive with arbitrary ownership,
permissions, or names that differ from existing data on disk:
.Pp
.Dl $ cat input.mtree
+.Dl #mtree
.Dl usr/bin uid=0 gid=0 mode=0755 type=dir
.Dl usr/bin/ls uid=0 gid=0 mode=0755 type=file content=myls
.Dl $ tar -cvf output.tar @input.mtree
OpenPOWER on IntegriCloud