From b85217ef14e87e44e6d90711dd14d77eee5e8528 Mon Sep 17 00:00:00 2001 From: Yip Coekjan <69834864+Coekjan@users.noreply.github.com> Date: Mon, 26 Aug 2024 21:37:21 +0800 Subject: [PATCH] Improve documents for the `--font-path` arg & `TYPST_FONT_PATHS` env (#4776) Co-authored-by: Laurenz --- crates/typst-cli/src/args.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/typst-cli/src/args.rs b/crates/typst-cli/src/args.rs index 946afbc3d..5ec56555e 100644 --- a/crates/typst-cli/src/args.rs +++ b/crates/typst-cli/src/args.rs @@ -389,7 +389,10 @@ pub struct FontsCommand { /// Common arguments to customize available fonts #[derive(Debug, Clone, Parser)] pub struct FontArgs { - /// Adds additional directories to search for fonts + /// Adds additional directories that are recursively searched for fonts + /// + /// If multiple paths are specified, they are separated by the system's path + /// separator (`:` on Unix-like systems and `;` on Windows). #[clap( long = "font-path", env = "TYPST_FONT_PATHS",