stop printing usage on error.
it's really annoying to see error in case of command line usage error because usage print occupies whole screen.
$ phpcs -v --standard=PHPCompatibility --runtime-set testVersion 5.3-7.0 --exclude=PHPCompatibility.Sniffs.PHP.ForbiddenNamesAsInvokedFunctionsSniff cs70-int.php

i have to scroll back two screens of text to see the actual error:

Any solution you have in mind? Maybe:
type "phpcs --help" to see available command line optionsyes, the second option, just do not print usage if it was not requested. it breaks concentration to see the actual error.
Yeah, it's getting a bit long. Might be worth changing in the 3.0 version.
This change has been committed to the 3.0 branch. Output now looks like this:
$ phpcs temp.php --sniffs=NotAValidSniff
ERROR: The specified sniff code "NotAValidSniff" is invalid
Run "phpcs --help" for usage information
Thanks for the suggestion.
Most helpful comment
This change has been committed to the 3.0 branch. Output now looks like this:
Thanks for the suggestion.