diff options
| author | Yip Coekjan <69834864+Coekjan@users.noreply.github.com> | 2024-08-26 21:37:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-26 13:37:21 +0000 |
| commit | b85217ef14e87e44e6d90711dd14d77eee5e8528 (patch) | |
| tree | 2002908d2a6502d0df547d60a25dc8579c3ebe6e | |
| parent | cf05284a0cdfb6bff62ecb60baf16bec9853abe4 (diff) | |
Improve documents for the `--font-path` arg & `TYPST_FONT_PATHS` env (#4776)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
| -rw-r--r-- | crates/typst-cli/src/args.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/typst-cli/src/args.rs b/crates/typst-cli/src/args.rs index 946afbc3..5ec56555 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", |
