Cosmetic in usage string.

This commit is contained in:
Philippe Charnier
1997-08-05 06:41:26 +00:00
parent 2799473b0c
commit 321e481502
2 changed files with 18 additions and 11 deletions
+9 -4
View File
@@ -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);
}
+9 -7
View File
@@ -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