diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-05-25 16:51:44 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-05-28 08:27:12 +0000 |
| commit | 5f10e369a13af824de5244c12f4e7216a9d0750e (patch) | |
| tree | 8bbeb841dc2bafff86d0a8da4272f95c5287f50e | |
| parent | 6e2940af1c49d7489b9c881d84bac7bf9fdae1ca (diff) | |
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)
| -rw-r--r-- | usr.sbin/lpr/lpd/lpd.8 | 11 | ||||
| -rw-r--r-- | usr.sbin/lpr/lpd/lpd.c | 3 |
2 files changed, 1 insertions, 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++; |
