"Jason R. Mastaler" <[EMAIL PROTECTED]> writes:

> Tim Legant <[EMAIL PROTECTED]> writes:
> 
> > Are they completely separate options
> 
> Yes.

If I specify both, which should "win"?

> Here's an example of both (from a non-CVS tmda-pending):
> 
> $ tmda-pending -b --terse 1039187584.11679.msg
> 1039187584.11679.msg    [EMAIL PROTECTED] Cleanse Your Colon without 
>professional help

Hmmm.  I don't have any pre-Pending code lying around, but right now
that extra line gets printed if verbose is true.  Verbose is true by
default.

In the getopt processing, setting batch turns off interactive but
leaves verbose alone.  Neither of the summary options touches verbose.
So there must have been something in the original code that
special-cased terse and summary to ignore verbose.  That's definitely
not there now.

> $ tmda-pending -b --summary 1039187584.11679.msg
> 
> 1039187584.11679.msg (1 of 1 / 5425 bytes)
>   >> Date: Fri, 06 Dec 0102 03:54:08 +1100
>   >> From: <[EMAIL PROTECTED]>
>   >>   To: <[EMAIL PROTECTED]>
>   >> Subj: Cleanse Your Colon without professional help
> <mailto:[EMAIL PROTECTED]>
> 
> I just noticed the "pass" statements are printed during --summary runs
> as well in CVS.

For the same reason mentioned above.

If summary and terse are the only options where we need to ignore
verbose, this is an easy fix.  If there are more complicated
semantics, we need to understand them before I go making quick fixes
that screw us later.


Tim
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to