Skip to content

Feature Request: make --exclude a synonym of --ignore #444

Open
@daverayment

Description

@daverayment

The tool uses --include to include files and folders for processing. The antonym of --include is --exclude, but that is not recognised. The following is output instead:

error: unknown option '--exclude'
(Did you mean --include?)

This is obviously pretty funny, but nevertheless it would be beginner-friendly to have --exclude as a synonym for --ignore.

If there is a reason why this shouldn't be done, then please change the error message to suggest --ignore instead of --include.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions