diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-05-12 23:51:30 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-05-12 23:51:30 +0200 |
commit | 497473c203f84cc26da96a51e0e19ab94a1a6e3a (patch) | |
tree | 69d7fd4f2a2045b80608c2a1ec5e3532acb2bb8f /skate | |
parent | 368bf739ac91e2b604897460d1993cfdfab4928c (diff) | |
download | refcat-497473c203f84cc26da96a51e0e19ab94a1a6e3a.tar.gz refcat-497473c203f84cc26da96a51e0e19ab94a1a6e3a.zip |
update flag help
Diffstat (limited to 'skate')
-rw-r--r-- | skate/cmd/skate-cleanup/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skate/cmd/skate-cleanup/main.go b/skate/cmd/skate-cleanup/main.go index 06a80a2..cf43732 100644 --- a/skate/cmd/skate-cleanup/main.go +++ b/skate/cmd/skate-cleanup/main.go @@ -29,7 +29,7 @@ var ( bestEffort = flag.Bool("B", false, "only log errors, but do not stop") skipNonMatches = flag.Bool("S", false, "do not emit a line for non-matches") what = flag.String("c", "doi", "what to clean: doi, url") - extendedCleanup = flag.Bool("X", false, "extended cleanup for urls") + extendedCleanup = flag.Bool("X", false, "extended (and slower) cleanup for urls") PatDOI = regexp.MustCompile(`10[.][0-9]{1,8}/[^ ]*[\w]`) rxRelaxed = xurls.Relaxed() |