[25972] in Source-Commits
Re: /svn/athena r25318 - in trunk/debathena/config/printing-config: debathena/printing debian
daemon@ATHENA.MIT.EDU (Jonathan Reed)
Sat Jul 30 07:42:29 2011
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Jonathan Reed <jdreed@MIT.EDU>
In-Reply-To: <alpine.GSO.1.10.1107292341240.7526@multics.mit.edu>
Date: Sat, 30 Jul 2011 07:42:17 -0400
Cc: source-commits@MIT.EDU
Message-Id: <0A489C25-D66C-43C9-98AE-01B12B832BD3@MIT.EDU>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Content-Transfer-Encoding: 8bit
>> + if server == None and common.get_cups_uri(queue) == None:
>> + # if there's no Hesiod server and no local queue,
>> + # tell the user they're wrong
>> + # But let it fall through in case the user is doing
>> + # stupid things with -h
>
> lpr is dumb and uses -H for the host.
>
> -Ben
>
Fair enough, but we're not actually looking at the args. The point was simply not to call common.error(). This means if a user is repeatedly calling -h/-H or setting CUPS_SERVER, they may get a bunch of spurious warnings. I can't convince myself that this is a problem.
-Jon