mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Extend description of "--exclude" to also exclude email addresses, not only URLs (#801)
This commit is contained in:
parent
8cc0aa1dc4
commit
a67b513238
4 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
fixtures/configs/smoketest.toml
vendored
2
fixtures/configs/smoketest.toml
vendored
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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>,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue