Skip to content

format of FILE as in --exclude-file=FILE #2046

@DimitriPapadopoulos

Description

@DimitriPapadopoulos

What is the format of FILE as in --exclude-file=FILE?

Is it perhaps of the form "file:line"? If so, I suggest fixing the help message from:

  -x FILE, --exclude-file=FILE
                        FILE with lines that should not be changed

to:

  -x FILE, --exclude-file=FILE
                        FILE with file:line pairs that should not be changed

That would avoid misunderstandings such as #1601 (comment) and codespell-project/actions-codespell#33 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions