git: a89539402359 - stable/15 - lpd: Drop deprecated -p option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 May 2026 08:25:19 UTC
The branch stable/15 has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=a895394023597d063979c10b96a3a187f29dd7fc
commit a895394023597d063979c10b96a3a187f29dd7fc
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2026-05-25 16:51:44 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2026-05-28 08:24:16 +0000
lpd: Drop deprecated -p option
This alias for the -s option has been deprecated since 2002. Time to
drop it from the documentation.
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D57183
(cherry picked from commit 6047f6a21085ae3877228f8df19a0d4bce45905f)
---
usr.sbin/lpr/lpd/lpd.8 | 11 +----------
usr.sbin/lpr/lpd/lpd.c | 3 ---
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
index 30c69555ca24..57331df02089 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -33,7 +33,7 @@
.Nd line printer spooler daemon
.Sh SYNOPSIS
.Nm
-.Op Fl cdlpsFW46
+.Op Fl cdlsFW46
.Op Fl t Ar timeout
.Op Ar port
.Sh DEPRECATION NOTICE
@@ -104,15 +104,6 @@ Causes
to log valid requests received from the network.
This can be useful
for debugging purposes.
-.It Fl p
-The
-.Fl p
-flag is a synonym for the
-.Fl s
-flag.
-It is being deprecated, and may be removed in a
-future version of
-.Nm .
.It Fl s
Do not open an Internet listening socket.
This means that
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c
index 5550846dca18..d01aac7a7a35 100644
--- a/usr.sbin/lpr/lpd/lpd.c
+++ b/usr.sbin/lpr/lpd/lpd.c
@@ -153,9 +153,6 @@ main(int argc, char **argv)
lflag++;
break;
case 'p': /* letter initially used for -s */
- /*
- * This will probably be removed with 5.0-release.
- */
/* FALLTHROUGH */
case 's': /* secure (no inet) */
sflag++;