diff --git a/tar.1 b/tar.1 index a9e438b..3339fb0 100644 --- a/tar.1 +++ b/tar.1 @@ -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 diff --git a/tar.c b/tar.c index bb4677b..67bd91d 100644 --- a/tar.c +++ b/tar.c @@ -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