mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Sync program's usage() with manpage's SYNOPSIS.
This commit is contained in:
parent
c13a4b3505
commit
ee3b44f521
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141589
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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[])
|
||||
|
|
Loading…
Reference in a new issue