From 3023911b4f603d84674006ba27a59d89c79a99d8 Mon Sep 17 00:00:00 2001 From: kientzle Date: Sun, 10 Aug 2008 07:47:34 +0000 Subject: [PATCH] Actually MFC r180827 | simon | 2008-07-26 10:22:40 -0700 (Sat, 26 Jul 2008) - Fix mtree example so it works. - Document --version. --- usr.bin/tar/bsdtar.1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/usr.bin/tar/bsdtar.1 b/usr.bin/tar/bsdtar.1 index 0dc4dee368a..02b301de3b8 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 -- 2.45.2