mirror of https://github.com/stelzo/typst.git
Improve documents for the `--font-path` arg & `TYPST_FONT_PATHS` env (#4776)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
cf05284a0c
commit
b85217ef14
|
|
@ -389,7 +389,10 @@ pub struct FontsCommand {
|
||||||
/// Common arguments to customize available fonts
|
/// Common arguments to customize available fonts
|
||||||
#[derive(Debug, Clone, Parser)]
|
#[derive(Debug, Clone, Parser)]
|
||||||
pub struct FontArgs {
|
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(
|
#[clap(
|
||||||
long = "font-path",
|
long = "font-path",
|
||||||
env = "TYPST_FONT_PATHS",
|
env = "TYPST_FONT_PATHS",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue