diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-12-04 14:17:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-04 13:17:38 +0000 |
| commit | bf1c7db6fcee967ea802a19430c1e27444e16da1 (patch) | |
| tree | 17e9228d3844fa964e88ee88f6fa4b8a2ca9a3c1 /crates/typst-cli/src/package.rs | |
| parent | 884c02872ce9d7432c3b67a920011cf385ce70b2 (diff) | |
Clean up CLI argument parsing (#5521)
Diffstat (limited to 'crates/typst-cli/src/package.rs')
| -rw-r--r-- | crates/typst-cli/src/package.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-cli/src/package.rs b/crates/typst-cli/src/package.rs index b4965f89..6099ecaa 100644 --- a/crates/typst-cli/src/package.rs +++ b/crates/typst-cli/src/package.rs @@ -1,10 +1,10 @@ use typst_kit::package::PackageStorage; -use crate::args::PackageStorageArgs; +use crate::args::PackageArgs; use crate::download; /// Returns a new package storage for the given args. -pub fn storage(args: &PackageStorageArgs) -> PackageStorage { +pub fn storage(args: &PackageArgs) -> PackageStorage { PackageStorage::new( args.package_cache_path.clone(), args.package_path.clone(), |
