Skip to content

usability: do not print usage on error #1186

@glensc

Description

@glensc

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 

image

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

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions