summaryrefslogtreecommitdiff
path: root/usr.sbin/lpr
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r--usr.sbin/lpr/lprm/lprm.112
-rw-r--r--usr.sbin/lpr/lprm/lprm.c6
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/lpr/lprm/lprm.1 b/usr.sbin/lpr/lprm/lprm.1
index ad2b875e9c5..28b778f1ad8 100644
--- a/usr.sbin/lpr/lprm/lprm.1
+++ b/usr.sbin/lpr/lprm/lprm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lprm.1,v 1.8 2003/06/02 23:36:53 millert Exp $
+.\" $OpenBSD: lprm.1,v 1.9 2007/02/16 13:34:58 jmc Exp $
.\" $NetBSD: lprm.1,v 1.10 2002/01/19 03:23:47 wiz Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
@@ -39,11 +39,11 @@
.Sh SYNOPSIS
.Nm lprm
.Op Fl
-.Bk -words
.Op Fl P Ns Ar printer
-.Ek
-.Oo Op Ar job# Ar ...
-.Op Ar user Ar ... Oc
+.Oo
+.Op Ar job# Ar ...
+.Op Ar user Ar ...
+.Oc
.Sh DESCRIPTION
.Nm lprm
will remove a job, or jobs, from a printer's spool queue.
@@ -77,7 +77,7 @@ to attempt to remove any jobs queued belonging to that user (or users).
This form of invoking
.Nm
is useful only to the superuser.
-.It Ar job\ \&#
+.It Ar job#
A user may dequeue an individual job by specifying its job number.
This number may be obtained from the
.Xr lpq 1
diff --git a/usr.sbin/lpr/lprm/lprm.c b/usr.sbin/lpr/lprm/lprm.c
index 57fa77e800e..2130a486079 100644
--- a/usr.sbin/lpr/lprm/lprm.c
+++ b/usr.sbin/lpr/lprm/lprm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lprm.c,v 1.16 2003/06/02 23:36:53 millert Exp $ */
+/* $OpenBSD: lprm.c,v 1.17 2007/02/16 13:34:58 jmc Exp $ */
/* $$NetBSD: lprm.c,v 1.9 1999/08/16 03:12:32 simonb Exp $ */
/*
@@ -41,7 +41,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)lprm.c 8.1 (Berkeley) 6/6/93";
#else
-static const char rcsid[] = "$OpenBSD: lprm.c,v 1.16 2003/06/02 23:36:53 millert Exp $";
+static const char rcsid[] = "$OpenBSD: lprm.c,v 1.17 2007/02/16 13:34:58 jmc Exp $";
#endif
#endif /* not lint */
@@ -167,7 +167,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-] [-Pprinter] [[job #] [user] ...]\n",
+ fprintf(stderr, "usage: %s [-] [-Pprinter] [[job# ...] [user ...]]\n",
__progname);
exit(2);
}