* Andy Armstrong <[EMAIL PROTECTED]> [2007-11-29 04:02]:
> I agree re the semantics of '--' - but I'd rather have a
> sentinel than a quoted string. Having to get nested quoting
> right is a bit of cognitive load we can spare people from.
>
> So:
>
> * Andy's --testargs has the disadvantage of being visually
>   indistinct from regular args
> * '--' has another meaning by convention
>
> How about some other short, not arg like, shell safe punctuation sequence?
>
> $ prove -v t/sprocket.t -+ --teeth 12

How about a double colon?

    $ prove -v t/sprocket.t :: --teeth 12

It’s quite unlikely that anyone would name a test file `::`. In
fact no one who has to care about Windows at all (which would be
everyone who isn’t writing (Linux|Mac|BSD)::* modules) would want
to do that because on Windows you *can’t* name a file `::`.

(A single colon would do just as well, but might get visually lost
in a long `prove` invocation.)

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to