o Add -4 and -6 flags to a man page and usage(). Bump the man page
date. git-svn-id: http://svn0.us-east.freebsd.org/base/head/contrib/telnet@139713 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
This commit is contained in:
parent
e5dfcfd096
commit
10faff8b17
|
@ -32,7 +32,7 @@
|
||||||
.\" @(#)telnetd.8 8.4 (Berkeley) 6/1/94
|
.\" @(#)telnetd.8 8.4 (Berkeley) 6/1/94
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd January 27, 2000
|
.Dd January 5, 2005
|
||||||
.Dt TELNETD 8
|
.Dt TELNETD 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
protocol server
|
protocol server
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm /usr/libexec/telnetd
|
.Nm /usr/libexec/telnetd
|
||||||
.Op Fl BUhlkn
|
.Op Fl 46BUhlkn
|
||||||
.Op Fl D Ar debugmode
|
.Op Fl D Ar debugmode
|
||||||
.Op Fl S Ar tos
|
.Op Fl S Ar tos
|
||||||
.Op Fl X Ar authtype
|
.Op Fl X Ar authtype
|
||||||
|
@ -86,6 +86,14 @@ The
|
||||||
.Nm
|
.Nm
|
||||||
command accepts the following options:
|
command accepts the following options:
|
||||||
.Bl -tag -width indent
|
.Bl -tag -width indent
|
||||||
|
.It Fl 4
|
||||||
|
Forces
|
||||||
|
.Nm
|
||||||
|
to use IPv4 addresses only.
|
||||||
|
.It Fl 6
|
||||||
|
Forces
|
||||||
|
.Nm
|
||||||
|
to use IPv6 addresses only.
|
||||||
.It Fl a Ar authmode
|
.It Fl a Ar authmode
|
||||||
This option may be used for specifying what mode should
|
This option may be used for specifying what mode should
|
||||||
be used for authentication.
|
be used for authentication.
|
||||||
|
|
|
@ -412,7 +412,8 @@ usage()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "usage: telnetd");
|
fprintf(stderr, "usage: telnetd");
|
||||||
#ifdef AUTHENTICATION
|
#ifdef AUTHENTICATION
|
||||||
fprintf(stderr, " [-a (debug|other|user|valid|off|none)]\n\t");
|
fprintf(stderr,
|
||||||
|
" [-4] [-6] [-a (debug|other|user|valid|off|none)]\n\t");
|
||||||
#endif
|
#endif
|
||||||
#ifdef BFTPDAEMON
|
#ifdef BFTPDAEMON
|
||||||
fprintf(stderr, " [-B]");
|
fprintf(stderr, " [-B]");
|
||||||
|
|
Loading…
Reference in New Issue