Page MenuHomeFreeBSD

D57183.diff
No OneTemporary

D57183.diff

diff --git a/usr.sbin/lpr/lpd/lpd.8 b/usr.sbin/lpr/lpd/lpd.8
--- 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 @@
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 to open an Internet listening socket.
This means that
diff --git a/usr.sbin/lpr/lpd/lpd.c b/usr.sbin/lpr/lpd/lpd.c
--- a/usr.sbin/lpr/lpd/lpd.c
+++ b/usr.sbin/lpr/lpd/lpd.c
@@ -140,7 +140,7 @@
errx(EX_NOPERM,"must run as root");
errs = 0;
- while ((i = getopt(argc, argv, "cdlpst:wFW46")) != -1)
+ while ((i = getopt(argc, argv, "cdlst:wFW46")) != -1)
switch (i) {
case 'c':
/* log all kinds of connection-errors to syslog */
@@ -152,11 +152,6 @@
case 'l':
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++;
break;

File Metadata

Mime Type
text/plain
Expires
Tue, May 26, 12:26 PM (4 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33530505
Default Alt Text
D57183.diff (1 KB)

Event Timeline