JakubOnderka / PHP-Parallel-Lint

This tool check syntax of PHP files faster than serial check with fancier output.
Other
647 stars 62 forks source link

Add option --version #71

Closed o5 closed 8 years ago

o5 commented 8 years ago

I'm implementing this tool into our Continuous Integration and I would like to print version of parallel-lint for potentially troubleshooting.

There is a workaround with sed, but new option will be nicer.

[~]$ parallel-lint | sed -n 1p
PHP Parallel Lint version 0.9.1

Version should be also constant instead of hardcoded string.

Please let me know, if you are open for PR :) Thanks

grogy commented 8 years ago

I agree with this idea. Can you send the PR? :-)