diff options
| author | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-02 00:06:10 -0400 |
|---|---|---|
| committer | JP Appel <jeanpierre.appel01@gmail.com> | 2025-07-02 00:06:10 -0400 |
| commit | ba68130862dc004a7a1b50d99fc70872d39fd065 (patch) | |
| tree | ef4f08b1d91ff86f717fff4b30474048f77ae4c1 /cmd/index.go | |
| parent | 4582265de0c0472755880652dc7b390b342cf3e0 (diff) | |
Add link parsing
Diffstat (limited to 'cmd/index.go')
| -rw-r--r-- | cmd/index.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/index.go b/cmd/index.go index 2f45f78..c5d1107 100644 --- a/cmd/index.go +++ b/cmd/index.go @@ -21,6 +21,7 @@ func setupIndexFlags(args []string, fs *flag.FlagSet, flags *IndexFlags) { fs.BoolVar(&flags.IgnoreDateError, "ignoreBadDates", false, "ignore malformed dates while indexing") fs.BoolVar(&flags.IgnoreMetaError, "ignoreMetaError", false, "ignore errors while parsing general YAML header info") fs.BoolVar(&flags.ParseMeta, "parseMeta", true, "parse YAML header values other title, authors, date, tags") + fs.BoolVar(&flags.ParseLinks, "parseLinks", true, "parse file contents for links") customFilters := false flags.Filters = index.DefaultFilters() |
