From edbbb27736db50534c9f0e029bc04f3f462596d3 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Fri, 9 Apr 2021 08:47:01 +0200 Subject: Move filter directory information to manpage --- badwolf.1 | 2 ++ badwolf.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/badwolf.1 b/badwolf.1 index 502d07e..111c0cc 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -89,6 +89,8 @@ For a converter using AblockPlus-style filters, try: .Pp For a ready-to-use file (that you should update periodically), try: .Lk https://easylist-downloads.adblockplus.org/easylist_min_content_blocker.json +.It Pa ${XDG_CACHE_HOME:-$HOME/.cache}/badwolf/filters +This is where the compiled filters are stored, the file(s) in it are automatically generated and so shouldn't be edited. .It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/bookmarks.xbel XBEL (XML Bookmark Exchange Language) file, known to be currently supported by: .Xr elinks 1 , diff --git a/badwolf.c b/badwolf.c index bf5d183..84f4104 100644 --- a/badwolf.c +++ b/badwolf.c @@ -1060,7 +1060,6 @@ main(int argc, char *argv[]) fprintf(stderr, _("content-filters file set to: %s\n"), contentFilterPath); gchar *filtersPath = g_build_filename(g_get_user_cache_dir(), g_get_prgname(), "filters", NULL); - fprintf(stderr, _("content-filters directory set to: %s\n"), filtersPath); window->content_store = webkit_user_content_filter_store_new(filtersPath); webkit_user_content_filter_store_save_from_file(window->content_store, -- cgit v1.3.1-23-gd82d