Improve documents for the --font-path arg & TYPST_FONT_PATHS env (#4776)

Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
Yip Coekjan 2024-08-26 21:37:21 +08:00 committed by GitHub
parent cf05284a0c
commit b85217ef14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",