diff options
author | ale <ale@incal.net> | 2018-12-27 22:49:12 +0000 |
---|---|---|
committer | ale <ale@incal.net> | 2018-12-27 22:49:12 +0000 |
commit | 52eba2bb523961e5a46c751f9eb33ac5ec1a87c0 (patch) | |
tree | f028f6666f4cc6cfeb1b10e6ef5f47747464377a | |
parent | bbc09df40da59a4362c4d7cbea1ec4a5e6a8a98c (diff) | |
parent | 8ca8cc1f72093c0d049a2b94de7aaafeb42fabc0 (diff) | |
download | crawl-52eba2bb523961e5a46c751f9eb33ac5ec1a87c0.tar.gz crawl-52eba2bb523961e5a46c751f9eb33ac5ec1a87c0.zip |
Merge branch 'master' of git.autistici.org:ale/crawl
-rw-r--r-- | cmd/crawl/crawl.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/crawl/crawl.go b/cmd/crawl/crawl.go index d0ff268..d5e012a 100644 --- a/cmd/crawl/crawl.go +++ b/cmd/crawl/crawl.go @@ -268,7 +268,7 @@ func main() { crawl.NewRegexpIgnoreScope(excludes), ) if !*excludeRelated { - scope = crawl.OR(scope, crawl.NewIncludeRelatedScope()) + scope = crawl.AND(crawl.OR(scope, crawl.NewIncludeRelatedScope()), crawl.NewRegexpIgnoreScope(excludes)) } outf, err := os.Create(*outputFile) |