On 20-07-2009 at 04:03:32 Levi Stanley <l...@eneservices.com> wrote:

Patch Adds:

+ I added force parsing every time the script is ran.
+ Added an include option, so you are now able to include your
modifiers, prefilters, etc.
+ Now using getopt

Thanks!

Custom includes is a good idea.

However I don't like that getopt() ignores "loose" arguments. This makes the tool harder to use, and gives surprising results in case like:

phptal_lint.php -p foo*.php

shell will expand this to:

phptal_lint.php -p foo1.php foo2.php


and getopt() will cause foo2.php to be silently ignored.



--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to