git: 8e917789732a - main - lpd: Reorder option list in manual page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 May 2026 17:03:04 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=8e917789732ae02a480e8756899d3bc6d99fe5d8
commit 8e917789732ae02a480e8756899d3bc6d99fe5d8
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-05-25 16:51:39 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-05-25 16:52:16 +0000
lpd: Reorder option list in manual page
MFC after: 1 week
Reviewed by: ziaee, markj
Differential Revision: https://reviews.freebsd.org/D57182
---
usr.sbin/lpr/lpd/lpd.8 | 42 ++++++++++++++++++------------------------
1 file changed, 18 insertions(+), 24 deletions(-)
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index 269ef3580ce7..30c69555ca24 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -63,6 +63,12 @@ the request so the parent can continue to listen for more requests.
.Pp
Available options:
.Bl -tag -width Ds
+.It Fl 4
+Accept IPv4 connections.
+The default is to accept both IPv4 and IPv6.
+.It Fl 6
+Accept IPv6 connections.
+The default is to accept both IPv4 and IPv6.
.It Fl c
By default, if some remote host has a connection error while trying to
send a print request to
@@ -81,11 +87,20 @@ Turn on
.Dv SO_DEBUG
on the Internet listening socket (see
.Xr setsockopt 2 ) .
-.It Fl l
+.It Fl F
+By default,
+.Nm
+will daemonize into the background.
The
-.Fl l
+.Fl F
flag causes
.Nm
+to remain in the foreground.
+Logging is still performed with
+.Xr syslog 3 .
+.It Fl l
+Causes
+.Nm
to log valid requests received from the network.
This can be useful
for debugging purposes.
@@ -99,11 +114,7 @@ It is being deprecated, and may be removed in a
future version of
.Nm .
.It Fl s
-The
-.Fl s
-(secure) flag causes
-.Nm
-not to open an Internet listening socket.
+Do not open an Internet listening socket.
This means that
.Nm
will not accept any connections from any remote
@@ -114,17 +125,6 @@ Set the network receive timeout for client connections to
.Ar timeout
seconds.
The default is 120.
-.It Fl F
-By default,
-.Nm
-will daemonize into the background.
-The
-.Fl F
-flag causes
-.Nm
-to remain in the foreground.
-Logging is still performed with
-.Xr syslog 3 .
.It Fl W
By default, the
.Nm
@@ -137,12 +137,6 @@ flag causes
to accept connections coming from any port.
This is can be useful when you want to accept print jobs
from certain implementations of lpr written for Windows.
-.It Fl 4
-Inet only.
-.It Fl 6
-Inet6 only.
-.It Fl 46
-Inet and inet6 (default).
.It Ar "port"
The Internet port number or service name used to rendezvous with other
processes.