sbase

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

commit e6c532a47a51d6dcc1157b5a55f6e4ab739a3752
parent 258d0793ac830d247f8c7b54c7749f04f583faa4
Author: sin <sin@2f30.org>
Date:   Tue, 21 Apr 2015 15:35:05 +0100

tar: Briefly update manpage and usage for the latest changes

Diffstat:
Mtar.1 | 7++++---
Mtar.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