fix "-s" option

This commit is contained in:
mrg 1998-07-07 17:05:28 +00:00
parent 49ed29ab05
commit 18ae3abbcd
2 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: lp,v 1.3 1998/07/07 02:01:37 mrg Exp $
# $NetBSD: lp,v 1.4 1998/07/07 17:05:28 mrg Exp $
#
# Copyright (c) 1995 Joerg Wunsch
#
@ -56,8 +56,8 @@ do
c) # copy files before printing
symlink="";;
s) # symlink files (SVR4 compatibility)
symlink="-s";;
s) # silent
: ;;
d) # destination
dest="${OPTARG}";;
n) # number of copies

View File

@ -1,4 +1,4 @@
.\" $NetBSD: lp.1,v 1.3 1998/07/07 02:01:37 mrg Exp $
.\" $NetBSD: lp.1,v 1.4 1998/07/07 17:05:28 mrg Exp $
.\"
.\" Copyright (c) 1995 Joerg Wunsch
.\"
@ -79,8 +79,7 @@ Specify that
.Ar num
copies of each of the named files shall be printed.
.It Fl s
Use symlinks rather than copying the file. This is the default and is
provided as a compatibility option for SVR4.
Silent operation.
.It Fl o
Printer specific options. Not supported, provided only as a compatibility
option for SVR4.