summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-08-05 06:41:26 +0000
committercharnier <charnier@FreeBSD.org>1997-08-05 06:41:26 +0000
commitcb98d74e8de842c5d2026f29d67c598135e0e267 (patch)
tree7824d3d9487e77ccb484a5583b7aebfd2b32c8ce /usr.bin
parentf48e1d0fca051d42e03388b3c3c3c8eabe997b35 (diff)
downloadFreeBSD-src-cb98d74e8de842c5d2026f29d67c598135e0e267.zip
FreeBSD-src-cb98d74e8de842c5d2026f29d67c598135e0e267.tar.gz
Cosmetic in usage string.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/rdist/main.c13
-rw-r--r--usr.bin/rdist/rdist.116
2 files changed, 18 insertions, 11 deletions
diff --git a/usr.bin/rdist/main.c b/usr.bin/rdist/main.c
index 3badde7..6bb56a4 100644
--- a/usr.bin/rdist/main.c
+++ b/usr.bin/rdist/main.c
@@ -32,13 +32,17 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1983, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
+#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/9/93";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include "defs.h"
@@ -229,9 +233,10 @@ main(argc, argv)
static void
usage()
{
- printf("Usage: rdist [-nqbhirvwyD] [-P /path/to/rsh ] [-f distfile] [-d var=value]\n");
- printf(" [-m host] [file ...]\n");
- printf("or: rdist [-nqbhirvwyD] [-P /path/to/rsh ] -c source [...] machine[:dest]\n");
+ printf("%s\n%s\n%s\n",
+"usage: rdist [-nqbhirvwyD] [-P /path/to/rsh ] [-f distfile] [-d var=value]",
+" [-m host] [file ...]",
+" rdist [-nqbhirvwyD] [-P /path/to/rsh ] -c source [...] machine[:dest]");
exit(1);
}
diff --git a/usr.bin/rdist/rdist.1 b/usr.bin/rdist/rdist.1
index 087690a..aec461f 100644
--- a/usr.bin/rdist/rdist.1
+++ b/usr.bin/rdist/rdist.1
@@ -72,7 +72,7 @@ is
the standard input is used.
.It Fl f Ar distfile
Use the specified
-.Ar distfile.
+.Ar distfile .
.El
.Pp
If either the
@@ -85,7 +85,7 @@ then
.Dq Pa Distfile
to use as the input.
If no names are specified on the command line,
-.Nm rdist
+.Nm
will update all of the files and directories listed in
.Ar distfile .
Otherwise, the argument is taken to be the name of a file to be updated
@@ -99,7 +99,7 @@ Options specific to the second SYNOPSIS form:
.Bl -tag -width Fl c
.It Fl c
Forces
-.Nm rdist
+.Nm
to interpret the remaining arguments as a small
.Ar distfile .
.Pp
@@ -186,7 +186,7 @@ and
disagree. The
.Fl y
option causes
-.Nm rdist
+.Nm
not to update files that are younger than the master copy.
This can be used
to prevent newer copies on other hosts from being replaced.
@@ -394,15 +394,17 @@ temporary file for update lists
.Xr re_format 7
.Sh HISTORY
The
-.Nm rdist
+.Nm
command appeared in
.Bx 4.3 .
.Sh DIAGNOSTICS
-A complaint about mismatch of rdist version numbers may really stem
+A complaint about mismatch of
+.Nm
+version numbers may really stem
from some problem with starting your shell, e.g., you are in too many groups.
.Sh BUGS
Source files must reside on the local host where
-.Nm rdist
+.Nm
is executed.
.Pp
There is no easy way to have a special command executed after all files
OpenPOWER on IntegriCloud