summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src/fonts.rs
diff options
context:
space:
mode:
authorZicklag <zicklag@katharostech.com>2023-09-11 10:03:47 +0000
committerGitHub <noreply@github.com>2023-09-11 12:03:47 +0200
commit6483d3035bab4df2d644acb738974413977aaa37 (patch)
tree44b329b5ac2f0b22b75172abb5f55180f4862f75 /crates/typst-cli/src/fonts.rs
parentd056280165b981ef7a11f5bfb02417ef96760352 (diff)
Support proxy and custom certificate configuration. (#2006)
Diffstat (limited to 'crates/typst-cli/src/fonts.rs')
-rw-r--r--crates/typst-cli/src/fonts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/fonts.rs b/crates/typst-cli/src/fonts.rs
index 3e89e0d6..6b4fc2fc 100644
--- a/crates/typst-cli/src/fonts.rs
+++ b/crates/typst-cli/src/fonts.rs
@@ -12,7 +12,7 @@ use walkdir::WalkDir;
use crate::args::FontsCommand;
/// Execute a font listing command.
-pub fn fonts(command: FontsCommand) -> StrResult<()> {
+pub fn fonts(command: &FontsCommand) -> StrResult<()> {
let mut searcher = FontSearcher::new();
searcher.search(&command.font_paths);