[hackers] [sbase] tar: Briefly update manpage and usage for the latest changes || sin
commit e6c532a47a51d6dcc1157b5a55f6e4ab739a3752
Author: sin <sin_AT_2f30.org>
Date: Tue Apr 21 15:35:05 2015 +0100
tar: Briefly update manpage and usage for the latest changes
diff --git a/tar.1 b/tar.1
index a9e438b..3339fb0 100644
--- a/tar.1
+++ b/tar.1
_AT_@ -1,4 +1,4 @@
-.Dd March 21, 2015
+.Dd April 21, 2015
.Dt TAR 1
.Os sbase
.Sh NAME
_AT_@ -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
_AT_@ -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
Received on Tue Apr 21 2015 - 16:43:58 CEST
This archive was generated by hypermail 2.3.0
: Tue Apr 21 2015 - 16:48:24 CEST