summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-26 15:44:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-26 15:44:58 +0000
commit87bb0e4273be10c5c51f57492c8348d412590fe6 (patch)
treed77805a365ead8d43d2d5ec00bc00cc13b836ad0 /usr.bin
parent34127418566db5ac9b2c10eb122afe9bb5615722 (diff)
one synopsis; sync usage()
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rdistd/rdistd.19
-rw-r--r--usr.bin/rdistd/rdistd.c6
2 files changed, 5 insertions, 10 deletions
diff --git a/usr.bin/rdistd/rdistd.1 b/usr.bin/rdistd/rdistd.1
index ec923d1f6e5..7f287ff2459 100644
--- a/usr.bin/rdistd/rdistd.1
+++ b/usr.bin/rdistd/rdistd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rdistd.1,v 1.7 2003/06/03 02:56:15 millert Exp $
+.\" $OpenBSD: rdistd.1,v 1.8 2007/02/26 15:44:57 jmc Exp $
.\"
.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.
@@ -38,13 +38,8 @@
.Nd remote file distribution server program
.Sh SYNOPSIS
.Nm rdistd
-.Bk -words
+.Op Fl DV
.Fl S
-.Op Fl D
-.Ek
-.Pp
-.Nm rdistd
-.Fl V
.Sh DESCRIPTION
.Nm
is the server program for the
diff --git a/usr.bin/rdistd/rdistd.c b/usr.bin/rdistd/rdistd.c
index 173197ea3e9..5d3067c3ee4 100644
--- a/usr.bin/rdistd/rdistd.c
+++ b/usr.bin/rdistd/rdistd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rdistd.c,v 1.6 2003/06/03 02:56:15 millert Exp $ */
+/* $OpenBSD: rdistd.c,v 1.7 2007/02/26 15:44:57 jmc Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -37,7 +37,7 @@ static char RCSid[] __attribute__((__unused__)) =
"$From: rdistd.c,v 1.2 1999/08/04 15:57:33 christos Exp $";
#else
static char RCSid[] __attribute__((__unused__)) =
-"$OpenBSD: rdistd.c,v 1.6 2003/06/03 02:56:15 millert Exp $";
+"$OpenBSD: rdistd.c,v 1.7 2007/02/26 15:44:57 jmc Exp $";
#endif
static char sccsid[] __attribute__((__unused__)) =
@@ -57,7 +57,7 @@ static void usage(void);
static void
usage(void)
{
- fprintf(stderr, "usage: %s -S [ -DV ]\n", progname);
+ fprintf(stderr, "usage: %s [-DV] -S\n", progname);
exit(1);
}