Minor corrections

This commit is contained in:
Laurenz Stampfl 2024-12-17 20:12:55 +01:00
parent 42519403d5
commit 3e55525849
2 changed files with 4 additions and 5 deletions

View File

@ -245,9 +245,8 @@ pub struct CompileArgs {
#[arg(long = "pdf-version")]
pub pdf_version: Option<PdfVersion>,
/// A number of PDF standards that Typst will enforce
/// conformance with (currently, only one standard at a time
/// is supported).
/// One (or multiple comma-separated) PDF standards that Typst will enforce
/// conformance with.
#[arg(long = "pdf-standard", value_delimiter = ',')]
pub pdf_standard: Vec<PdfStandard>,
@ -492,7 +491,7 @@ display_possible_values!(PdfVersion);
#[derive(Debug, Copy, Clone, Eq, PartialEq, ValueEnum)]
#[allow(non_camel_case_types)]
pub enum PdfStandard {
/// PDF/A-2u.
/// PDF/A-1b.
#[value(name = "a-1b")]
A_1b,
/// PDF/A-2b.

View File

@ -55,7 +55,7 @@ pub struct CompileConfig {
pub output_format: OutputFormat,
/// Which pages to export.
pub pages: Option<PageRanges>,
/// The document's creation date formatted as a UNIX timestamp.
/// The document's creation date formatted as a UNIX timestamp, with UTC suffix.
pub creation_timestamp: Option<DateTime<Utc>>,
/// The format to emit diagnostics in.
pub diagnostic_format: DiagnosticFormat,