sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 69db591e7cad4e6cca97fd273da1f4387a985c43
parent 8b56f8775b03da9d7f904e2b2324f1432013d97b
Author: sin <sin@2f30.org>
Date:   Tue Apr 21 15:35:05 +0100

tar: Briefly update manpage and usage for the latest changes

Diffstat:
tar.1 | 7++++---
tar.c | 4++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git 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 @@ -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