From b92683b054f305280a1e07e5068c445a17571493 Mon Sep 17 00:00:00 2001 From: Fazle Arefin Date: Fri, 2 May 2025 18:52:40 +1000 Subject: [PATCH] fc-cache: add examples (#16320) * fc-cache: add examples --------- Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> --- pages/common/fc-cache.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/common/fc-cache.md b/pages/common/fc-cache.md index e4940617e4..51dba8ee17 100644 --- a/pages/common/fc-cache.md +++ b/pages/common/fc-cache.md @@ -7,6 +7,10 @@ `fc-cache` +- Generate font cache files verbosely: + +`fc-cache {{[-v|--verbose]}}` + - Force a rebuild of all font cache files, without checking if cache is up-to-date: `fc-cache {{[-f|--force]}}` @@ -14,3 +18,15 @@ - Erase font cache files, then generate new font cache files: `fc-cache {{[-r|--really-force]}}` + +- Scan a specific directory: + +`fc-cache {{path/to/directory}}` + +- Scan system-wide directories, skipping the user's home directory: + +`fc-cache {{[-s|--system-only]}}` + +- Display version: + +`fc-cache {{[-V|--version]}}`