- Fix mtree example so it works.
- Document --version. Reviewed by: kientzle MFC after: 1 week
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user