summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-16 13:34:59 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-16 13:34:59 +0000
commit9f9616fd94ef8364fc30fc322c0fc1d09e5618a1 (patch)
treeddf51a3de633a9c5c85a245922d29f978ef5a5b5 /usr.sbin
parent9c918b3bbdc3071791095c60a5b16d30c943b05e (diff)
sync synopsis and usage(); from Igor Sobrado
Diffstat (limited to 'usr.sbin')
-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);
}