summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-04-16 07:35:11 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-04-16 07:35:11 +0000
commitdf6d71e9e83ce09a3a1a624e1a8e8b3a7df6e792 (patch)
treed666ac893e5ed42bdde8e3a6229cd0464223f68e /usr.bin/rcs
parent6592c9684235601a569b14a2e7b106a1f5339107 (diff)
file argument is not mandatory, say so.
from Pierre Riteau via ray@; OK jmc@.
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/rcsclean.110
-rw-r--r--usr.bin/rcs/rcsclean.c4
2 files changed, 10 insertions, 4 deletions
diff --git a/usr.bin/rcs/rcsclean.1 b/usr.bin/rcs/rcsclean.1
index 83cd4cb4967..68820ad4f4e 100644
--- a/usr.bin/rcs/rcsclean.1
+++ b/usr.bin/rcs/rcsclean.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcsclean.1,v 1.19 2006/05/08 12:09:34 xsa Exp $
+.\" $OpenBSD: rcsclean.1,v 1.20 2007/04/16 07:35:10 xsa Exp $
.\"
.\" Copyright (c) 2005 Joris Vink <joris@openbsd.org>
.\" All rights reserved.
@@ -30,7 +30,7 @@
.Op Fl u Ns Op Ar rev
.Op Fl x Ns Ar suffixes
.Op Fl z Ns Ar tz
-.Ar
+.Op Ar
.Sh DESCRIPTION
The
.Nm
@@ -39,6 +39,12 @@ Only checked out files from the current working directory are removed \(en
.Nm
does not remove files from the RCS repository.
.Pp
+If no
+.Ar file
+operand is specified,
+.Nm
+cleans up all working files in the current directory.
+.Pp
.Nm
also supports
keyword substitution \(en
diff --git a/usr.bin/rcs/rcsclean.c b/usr.bin/rcs/rcsclean.c
index 59e7100f1b2..6949e0fe2d9 100644
--- a/usr.bin/rcs/rcsclean.c
+++ b/usr.bin/rcs/rcsclean.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsclean.c,v 1.48 2007/02/27 07:59:13 xsa Exp $ */
+/* $OpenBSD: rcsclean.c,v 1.49 2007/04/16 07:35:10 xsa Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -126,7 +126,7 @@ rcsclean_usage(void)
{
fprintf(stderr,
"usage: rcsclean [-TV] [-kmode] [-n[rev]] [-q[rev]] [-r[rev]]\n"
- " [-u[rev]] [-xsuffixes] [-ztz] [file] ...\n");
+ " [-u[rev]] [-xsuffixes] [-ztz] [file ...]\n");
}
static void