summaryrefslogtreecommitdiffstats
path: root/libexec/rshd
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/rshd
parent349a29d45a7cc10539fc1a42363885f1d186bc0a (diff)
downloadFreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.zip
FreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'libexec/rshd')
-rw-r--r--libexec/rshd/rshd.88
-rw-r--r--libexec/rshd/rshd.c2
2 files changed, 4 insertions, 6 deletions
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