summaryrefslogtreecommitdiff
path: root/crates/typst-cli/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/typst-cli/src')
-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,
}