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-25 16:52:16 +0000 |
| commit | 6047f6a21085ae3877228f8df19a0d4bce45905f (patch) | |
| tree | d550cfd01a7d1f4ddb1aad3620d098ab8fa93bbd | |
| parent | 8e917789732ae02a480e8756899d3bc6d99fe5d8 (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
| -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 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++; |
