Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2026 08:27:29 +0000
From:      Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5f10e369a13a - stable/14 - lpd: Drop deprecated -p option
Message-ID:  <6a17fc71.21b55.4eafaf75@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=5f10e369a13af824de5244c12f4e7216a9d0750e

commit 5f10e369a13af824de5244c12f4e7216a9d0750e
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:27:12 +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 24bbcd3b5340..099ee65a1c60 100644
--- a/usr.sbin/lpr/lpd/lpd.8
+++ b/usr.sbin/lpr/lpd/lpd.8
@@ -35,7 +35,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
@@ -106,15 +106,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 3371a764caf7..be41e81b7b5f 100644
--- a/usr.sbin/lpr/lpd/lpd.c
+++ b/usr.sbin/lpr/lpd/lpd.c
@@ -165,9 +165,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++;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a17fc71.21b55.4eafaf75>