tar: Briefly update manpage and usage for the latest changes
This commit is contained in:
parent
258d0793ac
commit
e6c532a47a
7
tar.1
7
tar.1
|
@ -1,4 +1,4 @@
|
||||||
.Dd March 21, 2015
|
.Dd April 21, 2015
|
||||||
.Dt TAR 1
|
.Dt TAR 1
|
||||||
.Os sbase
|
.Os sbase
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -10,17 +10,18 @@
|
||||||
.Op Fl j | Fl z
|
.Op Fl j | Fl z
|
||||||
.Fl x Op Fl m | Fl t
|
.Fl x Op Fl m | Fl t
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
|
.Op Ar file ...
|
||||||
.Nm
|
.Nm
|
||||||
.Op Fl C Ar dir
|
.Op Fl C Ar dir
|
||||||
.Op Fl h
|
.Op Fl h
|
||||||
.Fl c Ar dir
|
.Fl c Ar path ...
|
||||||
.Op Fl f Ar file
|
.Op Fl f Ar file
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm
|
.Nm
|
||||||
is the standard file archiver.
|
is the standard file archiver.
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
.Bl -tag -width Ds
|
.Bl -tag -width Ds
|
||||||
.It Fl c Ar path
|
.It Fl c Ar path ...
|
||||||
Create archive from
|
Create archive from
|
||||||
.Ar path .
|
.Ar path .
|
||||||
.It Fl C Ar dir
|
.It Fl C Ar dir
|
||||||
|
|
4
tar.c
4
tar.c
|
@ -350,8 +350,8 @@ xt(int argc, char *argv[], int (*fn)(char *, ssize_t, char[BLKSIZ]))
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
eprintf("usage: %s [-C dir] [-j | -z] -x [-m | -t] [-f file]\n"
|
eprintf("usage: %s [-C dir] [-j | -z] -x [-m | -t] [-f file] [file ...]\n"
|
||||||
" %s [-C dir] [-h] -c dir ... [-f file]\n", argv0, argv0);
|
" %s [-C dir] [-h] -c path ... [-f file]\n", argv0, argv0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user