summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src/args.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-15 14:54:16 +0200
committerGitHub <noreply@github.com>2024-10-15 12:54:16 +0000
commit240b917399148f8aa2f28ea37a03c1fd7e23832e (patch)
treea32833d223c00c693ba05cb438609bfb0093be88 /crates/typst-cli/src/args.rs
parent89cecb188d3905ecf98f2a6be93cbd7cf6bf8a64 (diff)
Docs and changelog improvements (#5147)
Co-authored-by: Malo <57839069+MDLC01@users.noreply.github.com> Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com> Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com> Co-authored-by: Jeremie Knuesel <knuesel@gmail.com> Co-authored-by: +merlan #flirora <2975203+bluebear94@users.noreply.github.com> Co-authored-by: Anselm Schüler <mail@anselmschueler.com>
Diffstat (limited to 'crates/typst-cli/src/args.rs')
-rw-r--r--crates/typst-cli/src/args.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/typst-cli/src/args.rs b/crates/typst-cli/src/args.rs
index 7436d25c..a4ac4bd9 100644
--- a/crates/typst-cli/src/args.rs
+++ b/crates/typst-cli/src/args.rs
@@ -209,7 +209,9 @@ pub struct QueryCommand {
#[clap(long = "format", default_value = "json")]
pub format: SerializationFormat,
- /// Whether to pretty-print the serialized output
+ /// Whether to pretty-print the serialized output.
+ ///
+ /// Only applies to JSON format.
#[clap(long)]
pub pretty: bool,
}