Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/lpr/lpq Document -w. Patch from Brian Ginsbach in b...
details: https://anonhg.NetBSD.org/src/rev/9e37bc3061a4
branches: trunk
changeset: 533723:9e37bc3061a4
user: wiz <wiz%NetBSD.org@localhost>
date: Mon Jul 08 14:05:37 2002 +0000
description:
Document -w. Patch from Brian Ginsbach in bin/17518.
diffstat:
usr.sbin/lpr/lpq/lpq.1 | 6 +++++-
usr.sbin/lpr/lpq/lpq.c | 6 +++---
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (53 lines):
diff -r abfaa2e97a18 -r 9e37bc3061a4 usr.sbin/lpr/lpq/lpq.1
--- a/usr.sbin/lpr/lpq/lpq.1 Mon Jul 08 11:32:44 2002 +0000
+++ b/usr.sbin/lpr/lpq/lpq.1 Mon Jul 08 14:05:37 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lpq.1,v 1.11 2002/01/19 03:23:11 wiz Exp $
+.\" $NetBSD: lpq.1,v 1.12 2002/07/08 14:05:37 wiz Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -43,6 +43,7 @@
.Nm
.Op Fl al
.Op Fl P Ar printer
+.Op Fl w Ar maxwait
.Op Ar job# ...
.Op Ar user ...
.Sh DESCRIPTION
@@ -72,6 +73,9 @@
.It Fl a
Report on the local queues for all printers,
rather than just the specified printer.
+.It Fl w Ar maxwait
+Specify the maximum time to wait in seconds for remote responses.
+The default is 300 seconds or 5 minutes.
.El
.Pp
For each job submitted (i.e. invocation of
diff -r abfaa2e97a18 -r 9e37bc3061a4 usr.sbin/lpr/lpq/lpq.c
--- a/usr.sbin/lpr/lpq/lpq.c Mon Jul 08 11:32:44 2002 +0000
+++ b/usr.sbin/lpr/lpq/lpq.c Mon Jul 08 14:05:37 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lpq.c,v 1.10 2000/04/14 06:26:53 simonb Exp $ */
+/* $NetBSD: lpq.c,v 1.11 2002/07/08 14:05:38 wiz Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)lpq.c 8.3 (Berkeley) 5/10/95";
#else
-__RCSID("$NetBSD: lpq.c,v 1.10 2000/04/14 06:26:53 simonb Exp $");
+__RCSID("$NetBSD: lpq.c,v 1.11 2002/07/08 14:05:38 wiz Exp $");
#endif
#endif /* not lint */
@@ -183,6 +183,6 @@
static void
usage()
{
- puts("usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...]");
+ puts("usage: lpq [-a] [-l] [-Pprinter] [-w maxwait] [user ...] [job ...]");
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index