The branch main has been updated by des:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=6047f6a21085ae3877228f8df19a0d4bce45905f

commit 6047f6a21085ae3877228f8df19a0d4bce45905f
Author:     Dag-Erling Smørgrav <[email protected]>
AuthorDate: 2026-05-25 16:51:44 +0000
Commit:     Dag-Erling Smørgrav <[email protected]>
CommitDate: 2026-05-25 16:52: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
---
 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++;

Reply via email to