Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commitedbbb27736db50534c9f0e029bc04f3f462596d3 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-09 08:47:01 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2021-04-09 08:47:21 +0200
Files98a1066688791d04b8fe510d9638222e26528244
goodwolf-edbbb27736db50534c9f0e029bc04f3f462596d3.tar
goodwolf-edbbb27736db50534c9f0e029bc04f3f462596d3.tar.gz
goodwolf-edbbb27736db50534c9f0e029bc04f3f462596d3.zip
Parent46ce59c9d63a8ab20117b5eb85afb52c0d6390a1 (diff)
Move filter directory information to manpage
2 files changed, 2 insertions, 1 deletions
-rw-r--r--badwolf.12
-rw-r--r--badwolf.c1
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,