Sync program's usage() with manpage's SYNOPSIS.

This commit is contained in:
Ruslan Ermilov 2005-02-09 20:36:12 +00:00
parent c13a4b3505
commit ee3b44f521
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141589
5 changed files with 7 additions and 12 deletions

View File

@ -73,7 +73,7 @@ static int
usage(const char *prog)
{
fprintf(stderr, "usage: %s [-Fd] [-P pidfile] [-a name] [-e exec | -l label]"
" [-p provider] interface\n", prog);
" [-n ngdebug] [-p provider] interface\n", prog);
return EX_USAGE;
}

View File

@ -38,10 +38,7 @@
.Nd "generate reverse netgroup data"
.Sh SYNOPSIS
.Nm
.Fl u
.Op Fl f Ar netgroup_file
.Nm
.Fl h
.Fl u | h
.Op Fl f Ar netgroup_file
.Sh DESCRIPTION
The

View File

@ -63,7 +63,7 @@ struct member_entry *mtable[TABLESIZE];
static void
usage(void)
{
fprintf (stderr,"usage: revnetgroup -u|-h [-f netgroup file]\n");
fprintf (stderr,"usage: revnetgroup -u | -h [-f netgroup_file]\n");
exit(1);
}

View File

@ -40,7 +40,7 @@
.Nd remote shell server
.Sh SYNOPSIS
.Nm
.Op Fl \&?DLaln
.Op Fl aDLln
.Sh DESCRIPTION
The
.Nm
@ -147,8 +147,8 @@ by
.Pp
The options are as follows:
.Bl -tag -width indent
.It Fl \&?
Display the usage message, and exit.
.It Fl a
This flag is ignored, and is present for compatability purposes.
.It Fl D
Sets the TCP_NODELAY socket option, which improves the performance
of small back-to-back writes at the expense of additional network
@ -159,8 +159,6 @@ Causes all successful accesses to be logged to
as
.Li auth.info
messages.
.It Fl a
This flag is ignored, and is present for compatability purposes.
.It Fl l
Do not use the user's
.Pa .rhosts

View File

@ -120,7 +120,7 @@ void usage(void);
char slash[] = "/";
char bshell[] = _PATH_BSHELL;
#define OPTIONS "alnDL"
#define OPTIONS "aDLln"
int
main(int argc, char *argv[])