summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-12-13 13:55:11 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-12-13 13:55:11 +0000
commitbd3eb4e9d4465537274760d578004c26161e814d (patch)
treeebb6fcfb068b2287318de8f2489bc3c5e0f3f5f8 /usr.bin
parentd3df4410f53562535f90d396cf419c00819c994e (diff)
sync SYNOPSIS and usage();
ok jfb@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/cvs.118
-rw-r--r--usr.bin/cvs/cvs.c6
2 files changed, 17 insertions, 7 deletions
diff --git a/usr.bin/cvs/cvs.1 b/usr.bin/cvs/cvs.1
index 3b23f0d4e39..df83efa6dda 100644
--- a/usr.bin/cvs/cvs.1
+++ b/usr.bin/cvs/cvs.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cvs.1,v 1.14 2004/12/08 00:43:44 jfb Exp $
+.\" $OpenBSD: cvs.1,v 1.15 2004/12/13 13:55:10 jmc Exp $
.\"
.\" Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
.\" All rights reserved.
@@ -31,9 +31,10 @@
.Nd OpenCVS Concurrent Versioning System client
.Sh SYNOPSIS
.Nm
-.Op Fl flQqv
+.Op Fl flQqtv
.Op Fl d Ar root
.Op Fl e Ar editor
+.Op Fl z Ar level
.Ar command Op Ar ...
.Sh DESCRIPTION
The
@@ -73,7 +74,7 @@ should always run in quiet mode and the
command should always produce unified output.
.Pp
The following options are supported:
-.Bl -tag -width Ds
+.Bl -tag -width "-e editorXX"
.It Fl d Ar root
Use
.Ar root
@@ -93,8 +94,18 @@ Be extra quiet.
Only error messages will be displayed.
.It Fl q
Be quiet about reporting.
+.It Fl t
+Trace program execution.
.It Fl v
Display version information and exit.
+.It Fl z Ar level
+Specify the compression level to
+.Xr gzip 1
+when transferring files.
+The compression level ranges from 1 to 9,
+with 1 being the fastest,
+and 9 providing the best level of compression.
+The default is 6.
.El
.Sh COMMANDS
The following commands are supported by
@@ -351,6 +362,7 @@ post-commit logging.
.El
.Sh SEE ALSO
.Xr diff 1 ,
+.Xr gzip 1 ,
.Xr patch 1 ,
.Xr rcs 1 ,
.Xr cvsd 8
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 696681ec897..11ac9fd137e 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.19 2004/12/09 20:03:27 jfb Exp $ */
+/* $OpenBSD: cvs.c,v 1.20 2004/12/13 13:55:10 jmc Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -318,9 +318,7 @@ void
usage(void)
{
fprintf(stderr,
- "Usage: %s [-lQqtvx] [-b bindir] [-d root] [-e editor] [-z level] "
- "command [options] ...\n",
- __progname);
+ "Usage: %s [-flQqtv] [-d root] [-e editor] [-z level] command [...]\n", __progname);
}