Skip to content

Order of conflicting arguments #327

@leahneukirchen

Description

@leahneukirchen

I generally prefer the --no-heading output, but there is no shortcut to enable it. After adding an alias for rg --no-heading, I discovered rg --no-heading --heading behaves just like rg --no-heading.
It would be nice if the "last argument wins", so defaults can be defined yet changed easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAn issue that is lacking clarity on one or more points.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions