Extend description of "--exclude" to also exclude email addresses, not only URLs (#801)

This commit is contained in:
Andy Grunwald 2022-10-23 12:17:20 +02:00 committed by GitHub
parent 8cc0aa1dc4
commit a67b513238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -243,7 +243,7 @@ OPTIONS:
Equivalent to `--exclude-private --exclude-link-local --exclude-loopback`
--exclude <EXCLUDE>
Exclude URLs from checking (supports regex)
Exclude URLs and mail addresses from checking (supports regex)
--exclude-file <EXCLUDE_FILE>
Deprecated; use `--exclude-path` instead

View file

@ -87,7 +87,7 @@ include_verbatim = false
# Ignore case of paths when matching glob patterns.
glob_ignore_case = false
# Exclude URLs from checking (supports regex).
# Exclude URLs and mail addresses from checking (supports regex).
exclude = [ '.*\.github.com\.*' ]
# Exclude these filesystem paths from getting checked.

View file

@ -216,7 +216,7 @@ pub(crate) struct Config {
#[serde(default)]
pub(crate) include: Vec<String>,
/// Exclude URLs from checking (supports regex)
/// Exclude URLs and mail addresses from checking (supports regex)
#[clap(long)]
#[serde(default)]
pub(crate) exclude: Vec<String>,

View file

@ -86,7 +86,7 @@ include_verbatim = false
# Ignore case of paths when matching glob patterns.
glob_ignore_case = false
# Exclude URLs from checking (supports regex).
# Exclude URLs and mail addresses from checking (supports regex).
exclude = [ '.*\.github.com\.*' ]
# Exclude these filesystem paths from getting checked.