tar: Briefly update manpage and usage for the latest changes

This commit is contained in:
sin 2015-04-21 15:35:05 +01:00
parent 258d0793ac
commit e6c532a47a
2 changed files with 6 additions and 5 deletions

7
tar.1
View File

@ -1,4 +1,4 @@
.Dd March 21, 2015
.Dd April 21, 2015
.Dt TAR 1
.Os sbase
.Sh NAME
@ -10,17 +10,18 @@
.Op Fl j | Fl z
.Fl x Op Fl m | Fl t
.Op Fl f Ar file
.Op Ar file ...
.Nm
.Op Fl C Ar dir
.Op Fl h
.Fl c Ar dir
.Fl c Ar path ...
.Op Fl f Ar file
.Sh DESCRIPTION
.Nm
is the standard file archiver.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl c Ar path
.It Fl c Ar path ...
Create archive from
.Ar path .
.It Fl C Ar dir

4
tar.c
View File

@ -350,8 +350,8 @@ xt(int argc, char *argv[], int (*fn)(char *, ssize_t, char[BLKSIZ]))
static void
usage(void)
{
eprintf("usage: %s [-C dir] [-j | -z] -x [-m | -t] [-f file]\n"
" %s [-C dir] [-h] -c dir ... [-f file]\n", argv0, argv0);
eprintf("usage: %s [-C dir] [-j | -z] -x [-m | -t] [-f file] [file ...]\n"
" %s [-C dir] [-h] -c path ... [-f file]\n", argv0, argv0);
}
int