Skip to content

Add a -X that acts like -x but obeys the --type filters #368

@petdance

Description

@petdance

ack -x ignores type filters. This is surprising to some users, and there have been repeated calls for -x to respect the --type filters.

It's too late to change the behavior of -x, but perhaps we add another flag, maybe -X, that obeys the type filters.

Let's discuss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions