View | Details | Raw Unified | Return to bug 17256
Collapse All | Expand All

(-)usr.sbin/lpr/lp/lp.sh (-1 / +5 lines)
Lines 48-55 Link Here
48
#
48
#
49
# XXX We include the -o flag as a dummy.  Posix 1003.2 does not require
49
# XXX We include the -o flag as a dummy.  Posix 1003.2 does not require
50
# it, but the rationale mentions it as a possible future extension.
50
# it, but the rationale mentions it as a possible future extension.
51
# XXX Applixware insists on the -s option.  It appears that lpr is
52
# generally silent so eating the option does the right thing.
51
#
53
#
52
while getopts "cd:n:o:" option
54
while getopts "cd:n:o:s" option
53
do
55
do
54
	case $option in
56
	case $option in
55
57
Lines 61-66 Link Here
61
		ncopies="-#${OPTARG}";;
63
		ncopies="-#${OPTARG}";;
62
	o)			# (printer option)
64
	o)			# (printer option)
63
		: ;;
65
		: ;;
66
	s)			# (silence)
67
		;;
64
	*)			# (error msg printed by getopts)
68
	*)			# (error msg printed by getopts)
65
		exit 2;;
69
		exit 2;;
66
	esac
70
	esac

Return to bug 17256