summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-09 20:36:12 +0000
committerru <ru@FreeBSD.org>2005-02-09 20:36:12 +0000
commitad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8 (patch)
tree3d1c40e371633d6912205343577a3b856ea09d77 /libexec
parent349a29d45a7cc10539fc1a42363885f1d186bc0a (diff)
downloadFreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.zip
FreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/pppoed/pppoed.c2
-rw-r--r--libexec/revnetgroup/revnetgroup.85
-rw-r--r--libexec/revnetgroup/revnetgroup.c2
-rw-r--r--libexec/rshd/rshd.88
-rw-r--r--libexec/rshd/rshd.c2
5 files changed, 7 insertions, 12 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index 3fdac99..8dfebb7 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -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;
}
diff --git a/libexec/revnetgroup/revnetgroup.8 b/libexec/revnetgroup/revnetgroup.8
index 9a6258a..84cf9f9 100644
--- a/libexec/revnetgroup/revnetgroup.8
+++ b/libexec/revnetgroup/revnetgroup.8
@@ -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
diff --git a/libexec/revnetgroup/revnetgroup.c b/libexec/revnetgroup/revnetgroup.c
index 0d4f379..505c482 100644
--- a/libexec/revnetgroup/revnetgroup.c
+++ b/libexec/revnetgroup/revnetgroup.c
@@ -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);
}
diff --git a/libexec/rshd/rshd.8 b/libexec/rshd/rshd.8
index fa65389..5b4ba96 100644
--- a/libexec/rshd/rshd.8
+++ b/libexec/rshd/rshd.8
@@ -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
diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c
index 323cb0a..bf20936 100644
--- a/libexec/rshd/rshd.c
+++ b/libexec/rshd/rshd.c
@@ -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[])
OpenPOWER on IntegriCloud